Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
r/learnpython icon
r/learnpython icon

r/learnpython

members
online

Related Subreddits

FAQs

How to ask a question?

Commenting

  • Try to guide OP to a solution instead of providing one directly.
  • Provide links to related resources.
  • Answer the question and highlight side-issues if any exist.
  • Don't "answer and run", be prepared to respond to follow up questions.
  • Proofread your answers for clarity and correctness.
  • Be polite.

Posting

  • Format your code for reddit or use a site like github or pastebin. Your code is hard to read and test otherwise.
  • Be sure to try out suggestions you get and report back.
  • SSCCE Keep your code Short, Self Contained, Correct (Compilable) and provide Example
  • Include the error you get when running the code, if there is one.
  • Ensure your example is correct. Either the example compiles cleanly, or causes the exact error message about which you want help.
  • Avoid posting a lot of code in your posts.
  • Posting homework assignments is not prohibited if you show that you tried to solve it yourself.
  • How to ask a software question
  • Writing the perfect question

Docs

Bookmark these!

New to Python?

…but not to programming in general?

New to programming?

Try one of these online books or check out our page of all other books sorted by difficulty and with descriptions!

Videos/Lectures

Tools For Learning Python

Flex your coding skill with some practice problems!

Try Python in your browser

Starting in the open source world

Some websites where you can start fixing bugs and such for open source projects

Other resources

Python 2 (archive)

Python 2 is no longer supported. This section archives resources related to Python 2.

New to Python? (Python 2)

New to programming? (Python 2)

Videos / Lectures (Python 2)

Tools for Learning Python 2

Try Python 2 in your browser

  • Skulpt (Py2) — uses WebGL for graphics
  • PythonAnywhere (Py2 & Py3) — Python in your browser (also hosting Python projects)
  • ideone (Py2 & Py3) — online compiler and debugging tool
  • Python Tutor (Py2 & Py3) — Visualize what the code does line by line.
  • repl.it (Py2 & Py3)

Misc.

Things created by the userbase

Name Desc Status
Undecided Game(RPG) In Planning
Chess Tutorial Chess tutorial by /u/rainy-day-week Up

Subreddit CSS and other assets can be found on github here: Subreddit assets


Last revised by xelf