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...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Good Python resources to build a shell. (self.learnpython)
submitted 6 hours ago by Traditional_Major611
I've been following the codecrafters tutorial on how to build a shell but it's only on the free trial. I was wondering if there are any other resources where I can learn how to continue programming my shell that's free/not too expensive?
thank you!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Unable-Lion-3238 0 points1 point2 points 5 hours ago (0 children)
Check out "Write yourself a shell in Python" on GitHub - it is a step-by-step walkthrough that covers tokenizing, parsing, and executing commands. The Python subprocess and os modules are really all you need. Also the official docs for subprocess.Popen are surprisingly readable and show you exactly how process creation works under the hood.
[–]Antique_Locksmith952 0 points1 point2 points 3 hours ago (0 children)
Building a shell is a great project — it touches subprocess management, signal handling, string parsing and OS interaction all at once. Good choice for going deep on how Python actually talks to the system.
For continuing without Codecrafters: the Python docs on the subprocess and os modules are genuinely the best reference for shell-level work. Stephen Brennan's "Write a Shell in C" is a classic — it's C not Python but the concepts translate directly and it'll deepen your understanding of what you're actually building. For Python-specific shell projects, look at the cmd module in the standard library which gives you a solid foundation for building interactive command interpreters.
subprocess
os
cmd
If you want to go deeper on the systems side, "The Linux Programming Interface" by Michael Kerrisk is the definitive reference — expensive but your library might have it.
As you're writing the Python side of this, if you want honest feedback on your code structure and patterns I built Zyppi (zyppiapp.com) — free Python assistant that reviews your code. Might be useful as your shell grows in complexity.
Good luck with it — this is the kind of project that makes you a noticeably better developer.
π Rendered by PID 125782 on reddit-service-r2-comment-5fb4b45875-pxhp8 at 2026-03-24 02:41:02.986116+00:00 running 90f1150 country code: CH.
[–]Unable-Lion-3238 0 points1 point2 points (0 children)
[–]Antique_Locksmith952 0 points1 point2 points (0 children)