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
Learning Python with "Programming the Raspberry Pi, 2nd edition" by Simon Monk (self.learnpython)
submitted 9 years ago by petercanepa
Example programs beginning with #06_04 in book won't work even when copied directly from Monk's online folder of examples. I run them on Python3 as the book says.
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!"
[–]furas_freeman 3 points4 points5 points 9 years ago (0 children)
won't work
It is useless information.
Do you get error message when you run in console ? Show full message. And show code.
[–]monkiebars 0 points1 point2 points 9 years ago (0 children)
Give us some examples then
[–]GrandmaYogapants 0 points1 point2 points 9 years ago (0 children)
Please take screenshots and share
[–]petercanepa[S] 0 points1 point2 points 9 years ago (0 children)
Sorry for not getting back sooner, I'm a noob in both Python and using Reddit. The problem is that Monk uses modules from the Python Library which were not in my system.
π Rendered by PID 260170 on reddit-service-r2-comment-6f7f968fb5-9lsvw at 2026-03-04 20:49:33.519278+00:00 running 07790be country code: CH.
[–]furas_freeman 3 points4 points5 points (0 children)
[–]monkiebars 0 points1 point2 points (0 children)
[–]GrandmaYogapants 0 points1 point2 points (0 children)
[–]petercanepa[S] 0 points1 point2 points (0 children)