Advertisement Jump to content
Sign in to follow this  

Environment for Python?

This topic is 1804 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everybody!


I am new to programming, I only have worked on Scratch and I really think that I have to get a better programming language with more abilities for game developing. I found out that python is a good language to start with. So i downloaded the latest version (3.3.3), but once open it the command line pops out, and I cant save any project.


I have notepad++ witch is supposed to provide an environment for any language but i don't know how to use it!


So my question is:


Is there any good environment for python and how do i use notepad++?

If you can give me download links I would be very grateful!!!

Share this post

Link to post
Share on other sites

Hi cgeo,


If you're using Windows, you can use the IDLE IDE that ships with Python. It's not the most beautiful thing in the world, but it's already there. Just open it up and create a new file with it. You can run it natively in IDLE, so that's a good start.


If you're not on a Windows machine or you don't like IDLE (I wouldn't blame you, really), then you need to create and edit your Python programs in a text editor. I personally prefer SublimeText, but Notepad++ works just as well. Just save your file with a ".py" extension. To run a Python program on Windows, you can either navigate to the file in Windows Explorer and run it - this will open up the command line like you've already seen, or you can (and this is my personal preference) right click on it, "Edit with IDLE" and run it from there. It's not the most elegant solution, but IDLE provides good feedback on errors and won't just close when the program terminates for one reason or another. If you're on a Mac or *NIX, open up a terminal and run "python" where "filename" is whatever you named your file (prepended by the directory it's not in your current working directory).


I hope this helps!

Share this post

Link to post
Share on other sites

Thanks to all of you guys I'm going to check some of your suggestions.

Also I have windows xp but I hope that in the end of the month i'll have a new pc with windows 7!


Oh, and what about graphics? How do I create graphics? I've heard something about PyGame... 

Edited by cgeo

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!