elz: (ada-tubes)
elz ([personal profile] elz) wrote in [community profile] intro_to_cs2009-10-29 12:48 pm
Entry tags:

Installing Python

Before you can write code in Python, you'll want to make sure it's installed on your computer. There's a PDF on the assignments page about getting started with Python and IDLE. It also says:

Warning: On the Python homepage, the latest version available for download is actually 3.0. Do not install this! This version is not backwards compatible with the code that you'll be writing in this course (for example, you have to type print("test") instead of print test.)


Here's a direct link to the Python download page - it looks like we'll want to use 2.6.4.

(My notes so far: installing on Windows is a snap. Shall investigate further on OS X and Ubuntu - I know Python is installed, but I'm not sure IDLE is.)

Comment if you run into any problems or have any advice!
gchick: Small furry animal wearing a tin-foil hat (Default)

[personal profile] gchick 2009-10-29 06:15 pm (UTC)(link)
The quick scoop on Mac and Linux:

In both OSes, the language is installed by default, but IDLE isn't. To get it on the Mac, grab the Mac package at http://www.python.org/download/releases/2.6.4/ , which does include IDLE (it's also a more up-to-date version of Python than the one that comes with the system). After installing, IDLE should be in a Python folder in /Applications.

On Ubuntu, again, IDLE isn't installed, but it is in the repositories; from the command line, sudo apt-get install idle, or use Add/Remove Software, whichever you normally use to install stuff. (I'm almost sure the same thing is true for any of the big/well-supported Linux distros, but I don't know their software repositories well enough to be sure.)
zing_och: Grace Choi from the Outsiders comic (Default)

[personal profile] zing_och 2009-10-30 04:04 pm (UTC)(link)
this is a good resource - I had problems installing IDLE on Ubuntu a while ago, mainly because I was new to Linux and Python and hadn't really grasped the difference between the language and IDLE.
amaresu: Sapphire and Steel from the opening (Default)

[personal profile] amaresu 2009-11-06 08:53 pm (UTC)(link)
Thank you. Just found this place and decided it sounded like fun. I'm also very new to Ubuntu so this was most helpful.
cal: (Lumos)

[personal profile] cal 2009-10-29 09:13 pm (UTC)(link)
Impressively painless on Windows XP! If anyone else on Windows is clueless like me: IDLE is installed automatically with Python and you can then find it in the Python bit of your Start menu.
ephemera: celtic knotwork style sitting fox (Default)

[personal profile] ephemera 2009-10-29 11:08 pm (UTC)(link)
ditto for Windows Vista (on both the painless and the location)
tassosss: (Aeryn in armor)

[personal profile] tassosss 2009-10-30 02:58 am (UTC)(link)
Very easy. I'm so excited now!!!
wyntarvox: (Default)

[personal profile] wyntarvox 2009-10-29 10:41 pm (UTC)(link)
Thanks for this. I've got it installed and ready to go. :)
badgerbag: (Default)

[personal profile] badgerbag 2009-11-10 02:46 am (UTC)(link)
Python is installed on Macs running OS X but you might want to check your version. In Applications/Utilities open "Terminal.app". then type python --version and it will tell you what version you've got!

http://www.python.org/download/mac/ has more versions and instructions!

CJQiihCyYfzDYIg

(Anonymous) 2012-05-04 06:29 am (UTC)(link)
I intended to draft you the very lttlie note in order to say thanks a lot once again relating to the extraordinary principles you have featured at this time. It has been simply seriously open-handed of you to supply openly what exactly most of us could have supplied for an electronic book in order to make some dough for themselves, mostly considering that you might well have tried it in the event you desired. Those tips in addition worked to be the great way to be certain that some people have the same interest just like my very own to find out good deal more with reference to this problem. I know there are several more enjoyable times in the future for people who examine your blog post.