2,205,463 questions
Score of 0
1 answer
79 views
not null constraint failed
I program in python. I run the following method
def delete_category(id):
# Récupérer la categorie à supprimer
print("ca passe1")
category = db.session.query(Category).filter_by(...
Score of 1
1 answer
45 views
DB Browser for SQLite returns 0 rows for sqlite_master after opening a databasemessage in a Python UI automation test?
I have a Python UI automation test that verifies a transient status message after a long-press action.
The transient is displayed for a very short time and is often missed when I read it after the ...
Score of 1
1 answer
52 views
How can I preserve tables, images, and nested lists when converting DOCX WORD to Markdown?
Iâm developing a browser-based Word-to-Markdown converter.
The converter handles basic paragraphs and headings correctly, but I am having trouble preserving the original document structure when the ...
Score of -7
0 answers
53 views
Kiwi TCMS Scalability compared to other testing tools [closed]
Why the scalability of kiwi Tcms is medium compared to other testing tools like Testrail, xpher
How scalable is hosting on local machine and cloud compared with other test tools
Score of -1
0 answers
67 views
How can I vertically align a Plotly chart and a custom HTML card in adjacent Streamlit columns?
I'm building a dashboard in Streamlit where two columns are displayed side by side. The left column contains a Plotly chart, while the right column contains a custom HTML/CSS card rendered using st....
Score of -5
0 answers
88 views
Discord Selfbot/User API [closed]
I understand self-botting is against Discordâs Terms of Service, but Iâm curious to learn how to report a user or message. Could somone provide the correct Discord API endpoint for this purpose? If ...
Score of 1
1 answer
74 views
How to properly deal with nan values when using scipy.stats.pearsonr?
I get this warning message:
constantInputWarning: An input array is constant; the correlation coefficient is not defined.
None of my arrays are constant, yet people have reported the same issue with ...
Score of 1
0 answers
77 views
How to create a custom dataset and dataloader in pytorch geometric for files with different dimensions?
I have several files that stores graphs, each of different dimension on axis=0 (eg. torch.Size([9852, 400]), torch.Size([6740, 400])). I am trying to create a Dataset and a Dataloader in pytorch ...
Score of -2
0 answers
27 views
Flask form submission returns 405 Method Not Allowed even though the route exists [duplicate]
I am building a small Flask web application where a user submits a form to generate content. The page loads correctly, but whenever I click the submit button, Flask returns a 405 Method Not Allowed ...
Score of 0
0 answers
83 views
Github Regressions: Private dataset to Github [closed]
I am designing a CI workflow that require access to a private dataset that cannot be stored in the Github repository or downloaded by a Github-hosted runner.
Connection desired design: Github PR -> ...
Score of 0
0 answers
69 views
skl2onnx conversion for standalone RandomForestClassifier results in massive 41% accuracy drop due to list unpacking shape mismatch
I am converting a standard Scikit-Learn standalone RandomForestClassifier into an ONNX graph using skl2onnx. While my native Python script logs an expected accuracy of 0.7832 on the Titanic dataset, ...
Score of 3
1 answer
104 views
OSError: exception: access violation reading 0x0000000000000000
I am trying to install a python driver, snAPI, by which I will be able to control a piece of lab equipment, a time tagger. There is no apparent error when I pip install the driver, but when I run a ...
Score of -5
0 answers
100 views
Excel file gets corrupted when updating destination workbook using Python for large Excel files [closed]
I'm using Python with pywin32 (COM Automation) to update an existing Excel workbook.
Environment:
Python 3.12
pywin32
Windows 11
Microsoft 365 Excel
The destination workbook is approximately 300â400 ...
Score of -2
0 answers
79 views
What is causing irregular spiking on training and validation loss with an ANN model tuned with HyberBand? [closed]
I have used Hyperband automatic tuning for an ANN model to predict price. After running the model with the automatic tuning, I am obtaining an R2 score of 1.00 that suggest overfitting, however, I am ...
Score of -2
1 answer
109 views
Limit character count in tkinter window? [closed]
I'm fiddling with a calculator tutorial using tkinter in Python and whenever there is a large number/decimal, it overflows off screen. How do I limit the character count to 15?
Sample code:
#window ...