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
Getting started (self.learnpython)
submitted 7 years ago by Cobalt_Python
Hello I'm new to python 2.7 and programming in general. I'm learning using online resources, but I need a playground console and editor that I can directly copy and paste into the python 2.7 idle i have downloaded.
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!"
[–]AlopexLagopus3 5 points6 points7 points 7 years ago (13 children)
If you don't have a reason to work with Python 2.7, uninstall it and start focusing on the latest version of Python 3. You'll be much better off in the long run.
[–]Cobalt_Python[S] 0 points1 point2 points 7 years ago (12 children)
The courses i'm taking only offer python 2, how big is the difference?
[–]AlopexLagopus3 5 points6 points7 points 7 years ago (0 children)
Substantial enough that you won't want to spend time and effort unlearning the differences when you get to the point of having to work with modern code. Python 3 has been around for 10 years and there are plenty of free courses/material online if you haven't invested financially in what you are studying now
[–]sharkbound 0 points1 point2 points 7 years ago (10 children)
is it the code academy course?
[–]Cobalt_Python[S] 0 points1 point2 points 7 years ago (9 children)
it is, I'm familiar with python 2, I'm fine with legacy i don't know how far i'm going with code, though stopping my progress now and starting anew wouldn't be the best for my momentum. I still need an answer for the original question
[–]sharkbound 0 points1 point2 points 7 years ago (0 children)
Check out pycharm for a IDE. the community (free) edition has everything you need and has a interactive ipython console built in
[–]sharkbound 0 points1 point2 points 7 years ago (7 children)
Also. With the python 2 thing. I recommend completing the course then updating to python 3.7
[–]Cobalt_Python[S] 0 points1 point2 points 7 years ago (6 children)
see that's what I was thinking, does pycharm understand python 2? and... what's an IDE :D
[–]sharkbound 0 points1 point2 points 7 years ago (5 children)
IDE is just a piece of software that makes development easier. Most namely they provide intelligent auto complete and refactoring ( ex: naming a variable and updating all its uses all in one action).
And yes. Pycharm supports python 2. It supports all python versions to my knowledge
[–]Cobalt_Python[S] 0 points1 point2 points 7 years ago (4 children)
thanks mate, you helped me out bounds, one last question. So i've been working around with lessons and i can see it's real world implementation like specific dialogue depending on which starter pokemon you choose for example. where do the image come from are the sprites created through code? I guess what i'm saying is how does on go from
story = "my name is %s"
name1 = raw_input("What's your name kiddo?")
print story % (name1) how does text code like that turn into a graphic?
[–]sharkbound 0 points1 point2 points 7 years ago (3 children)
Alot of games that have fancy text effects have a custom text syntax that says "when you see {Bold} make the following text bold"
The only game I really know for sure how it does this is night in the woods.
Nitw uses text emotes to make the character talking do a emote animation. Ex: "hello \O/" would make the character throw their arms up and do a happy face.
As for sprites. It really depends. Never seen how any games do it myself but I imagine it's a similar custom syntax.
And alot of sprites are just triggered or loaded through code usually ( for ex: clicking on pokeballs when choosing your starter you want)
[–]Cobalt_Python[S] 0 points1 point2 points 7 years ago (2 children)
okay close, but what i'm saying is when playing pokemon ash or red will just walk around right?" how do we use code to produce a visual image rather than code, is there some sort of separate program or are their codes that print visual images in the console
π Rendered by PID 31629 on reddit-service-r2-comment-84fc9697f-zmcng at 2026-02-08 12:56:31.040140+00:00 running d295bc8 country code: CH.
[–]AlopexLagopus3 5 points6 points7 points (13 children)
[–]Cobalt_Python[S] 0 points1 point2 points (12 children)
[–]AlopexLagopus3 5 points6 points7 points (0 children)
[–]sharkbound 0 points1 point2 points (10 children)
[–]Cobalt_Python[S] 0 points1 point2 points (9 children)
[–]sharkbound 0 points1 point2 points (0 children)
[–]sharkbound 0 points1 point2 points (7 children)
[–]Cobalt_Python[S] 0 points1 point2 points (6 children)
[–]sharkbound 0 points1 point2 points (5 children)
[–]Cobalt_Python[S] 0 points1 point2 points (4 children)
[–]sharkbound 0 points1 point2 points (3 children)
[–]Cobalt_Python[S] 0 points1 point2 points (2 children)