Python Forum
What to include in a post
What to include in a post
In each one your threads you create, you must include the following:
  • Your own code, if you're asking a question about code. We are not going to do it for you. Post any code (even if one line) in python tags using BBcode.
  • The entire traceback that you get. For example the line of code...
                  1 + '2'
    Will produce the following traceback
    Traceback (most recent call last):
      File "", line 1, in
        1 + '2'
    TypeError: unsupported operand type(s) for +: 'int' and 'str'
    And we need to see that whole thing. Do not just give us the last line.
  • Post as much code as necessary and as little as possible to reproduce your error, as well as instructions for how to run that code (what input it needs, what files need to be present). If "as much code as necessary" is all your code, then so be it, but if you have a thousand line script and you're getting a traceback similar to the above, you could reproduce the error in one line and posting too much makes it very difficult to answer your question. (As a bonus, reducing your code like this often makes it easier for you to figure out the solution on your own!) Also, the less code you post, the more likely you will get a good, fast, correct response.
  • If you feel you must post the full code and it is very long and/or has multiple files and/or resources to run, you need to put your program in a repo for us to obtain it instead of posting it in the forum and making us piece it all together
  • If your program has a GUI (graphical user interface, such as Tkinter, wx, pyqt, etc.) and your problem is with something other than the GUI programming, you will be more likely to get help if you only the post code that you need help with. Separating program logic from user interface is good practice anyway
  • It never hurts to include your Python version and operating system (OS). If you're not sure whether to include them, then do so.
  • Longer posts should include succinct summarizing questions (questions have question marks (?)). The faster we can read/skim your post, the better for you. Feel free to use the spoiler tag to shorten the outline, but still give enough detail
  • When you find an answer that fulfills your threads question, please post back the full answer. This provides an answer for people searching for the same problem in the future.
You can find more information in How to ask smart questions

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020