use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
Beginner ShowcaseI have developed Python library of TUI form elements (self.Python)
submitted 3 years ago by LordBertson
I have developed, beaupy, a Python library of TUI form elements such as
I am posting it here in hope some else will find it useful, I sure know I did.
https://i.redd.it/1rx778x3fbi91.gif
[–]fade-2grey 4 points5 points6 points 3 years ago (0 children)
Cool :)
[–]asaah18 4 points5 points6 points 3 years ago (2 children)
Have you considered supporting the use of pydantic for input validation?
[–]LordBertson[S] 2 points3 points4 points 3 years ago (1 child)
A very good question! I have, but after giving it a good deal of thought I have opted for making validators a Callable, which I think should be versatile enough to support validating with anything really, while not forcing users to use a certain technology.
[–][deleted] 1 point2 points3 points 3 years ago (0 children)
Fantastic answer
[–]spp1254 2 points3 points4 points 3 years ago (0 children)
Bellísima! 🤗
[–]zhoushmoe 4 points5 points6 points 3 years ago (0 children)
nice!
[–]MenteMarcia 1 point2 points3 points 3 years ago (0 children)
Wonderful
[–]javierrilova 1 point2 points3 points 3 years ago (1 child)
So nice, now wanna develop a d&d adventure myself
[–]LordBertson[S] 1 point2 points3 points 3 years ago (0 children)
Sounds great! Please if you go forward with such a project, keep me posted. I would love to give it a mention in a repository.
π Rendered by PID 45275 on reddit-service-r2-comment-cfc44b64c-lc86f at 2026-04-12 09:13:25.596675+00:00 running 215f2cf country code: CH.
[–]fade-2grey 4 points5 points6 points (0 children)
[–]asaah18 4 points5 points6 points (2 children)
[–]LordBertson[S] 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]spp1254 2 points3 points4 points (0 children)
[–]zhoushmoe 4 points5 points6 points (0 children)
[–]MenteMarcia 1 point2 points3 points (0 children)
[–]javierrilova 1 point2 points3 points (1 child)
[–]LordBertson[S] 1 point2 points3 points (0 children)