Stats
62,336
reputation
18.5m
reached
1,834
answers
33
questions
Loading…
About
I will be stepping back for the foreseeable future. Here are some resources to help with site curation. Make sure to click "Read more".
For no-effort debugging questions (vote to close as "needs more focus" or "needs debugging details"):
Welcome to Stack Overflow. Please read [ask]. We do not write answers here that "find the bug"; we require a **specific** question - which will come out of your best attempt to [understand](//meta.stackoverflow.com/q/261592/) and [locate](//ericlippert.com/2014/03/05) a specific problem, and showcase it in a [mre]. A question that is suitable for Stack Overflow is one where you have already figured out the **specific part** of the code that does something different from what you expect (and you should concretely *expect something*), and don't understand why.
For no-effort "do my homework for me" (basically always "needs more focus"):
Welcome to Stack Overflow. Please read [ask] and [How do I ask and answer homework questions?](//meta.stackoverflow.com/q/334822/). We will not write code to specification for you here. Plagiarism is a serious academic offense; aside from that, we require a **specific** question - which will come out of your best attempt to [understand](//meta.stackoverflow.com/q/261592/) and analyze the task, identify the logical steps to solve the problem, and figure out *where you are actually stuck*. Make sure to check if the issue is already addressed in another question.
To answer "Can you help me?"
It [is not possible to "help you"](//meta.stackoverflow.com/q/284236/) here as this is **not a discussion forum**.
For questions and answers that make inappropriate use of eval
and/or exec
in Python:
**[Do not ever use `eval` (or `exec`) on data that could possibly come from outside the program in any form. It is a critical security risk. You allow the author of the data to run arbitrary code on your computer](/q/1832940). It [cannot easily be sandboxed, and proper sandboxing is harder than using a proper tool for the job.](/q/3068139)**
For attempts to use Python 2.7 for new code:
Please keep in mind that Python 2.7 has been **unmaintained, even for essential security fixes, since Jan 1, 2020**. It is approximately as old as Windows 7. If Python 2.7 came with your computer then **do not attempt to remove it, as this can seriously damage your operating system**; but please try to write code for an up-to-date Python version, make sure you have one installed, and make sure you can enforce that the code runs with that version instead.
Two useful SEDE queries:
Duplicates of duplicates of a canonical
Other targets of duplicates of a canonical
Please also check out the python-canon-discussion chat room.
Badges
View all badges
11
gold badges
-
pythonMar 19, 2013
-
MarshalJan 3
-
Copy EditorOct 22, 2021
102
silver badges
-
listMay 16, 2020
-
python-3.xJan 4
-
stringDec 25
Top tags
View all tags
Top Meta posts
53
186
Top network posts
View all network posts