Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
1 answer
40 views

I am running into an issue where my dictionary is not picking up full strings attached to variables, but instead just the first letter. I made a small example of what happens, but I would be happy to ...
Score of -4
0 answers
59 views

The environment is supposedly activated but when I try to install a package it tries to install it globally source .venv/bin/activate.fish which python /usr/bin/python pip3 install cryptography ...
Score of 0
0 answers
36 views

I want handle KeyboardInterrupt and return result. And I want get exception TimeoutError when timeout exceed import asyncio from aioconsole import ainput async def long_running_task(): try: ...
Score of -4
0 answers
82 views

i made unit tests of route. Here is the tests def test_get_all_user(db_session): response, status_code = requests.get("http://127.0.0.1:5000/api/users", headers={"token": &...
Score of 1
1 answer
49 views

Is it possible to have Spyder run code or analyze a file that doesn't have a .py extension? The file has a shebang as the first line to name the python to be used. I can't find a setting that allows ...
Score of 0
1 answer
90 views

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
52 views

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
60 views

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 -1
0 answers
72 views

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
92 views

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
76 views

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
81 views

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
28 views

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
85 views

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
74 views

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, ...

15 30 50 per page
1
2 3 4 5
147031