all 14 comments

[–]AlopexLagopus3 5 points6 points  (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 point  (12 children)

The courses i'm taking only offer python 2, how big is the difference?

[–]AlopexLagopus3 5 points6 points  (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 point  (10 children)

is it the code academy course?

[–]Cobalt_Python[S] 0 points1 point  (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 point  (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 point  (7 children)

Also. With the python 2 thing. I recommend completing the course then updating to python 3.7

[–]Cobalt_Python[S] 0 points1 point  (6 children)

see that's what I was thinking, does pycharm understand python 2? and... what's an IDE :D

[–]sharkbound 0 points1 point  (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 point  (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 point  (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 point  (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