Skip to main content
Karl Knechtel's user avatar
Karl Knechtel's user avatar
Karl Knechtel's user avatar
Karl Knechtel
  • Member for 13 years, 7 months
  • Last seen this week
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.

3
gold badges
130
silver badges
228
bronze badges
3,404
Score
297
Posts
78
Posts %
853
Score
89
Posts
23
Posts %
542
Score
55
Posts
14
Posts %
502
Score
29
Posts
8
Posts %
373
Score
32
Posts
8
Posts %
360
Score
32
Posts
8
Posts %