Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 20 Online
OpenStudy (anonymous):

I am a newbie here started this course and finding it interesting can some one please suggest me the version of python prof is using cause the programs are not running in other versions

OpenStudy (anonymous):

2.x. The latest version is 2.7.2, you can get it here: http://www.python.org/getit/releases/2.7.2/

OpenStudy (anonymous):

Blah, kgiax beat me to it. Any 2.x version will work.

OpenStudy (anonymous):

Well, really you should be working with the latest version of 2.x, not just any one. I would imagine you'd run into problems if you tried to do this course with 2.1 or 2.2 or something.

OpenStudy (anonymous):

thnx

OpenStudy (anonymous):

Good point, I mostly meant if you have an earlier version (like 2.5.2 in my case), it will work whereas v3 won't.

OpenStudy (anonymous):

i downloaded the VPython and its working kinda right but there are still some problems

OpenStudy (anonymous):

is there any suggested texts i can refer to

OpenStudy (anonymous):

VPython is Python + Visual. I don't know how that changes python, but you should install the normal version.

OpenStudy (anonymous):

The assignment page actually suggests the course uses 2.5.4. 2.5.2 probably doesn't have any noticeable differences that should affect the course, but generally you should just get the latest version, or at least be sure you're working with at least 2.5.4 so there's no problems.

OpenStudy (anonymous):

Find the python version number. When they released version 3 they changed some language syntax, so it won't be completely compatible with the version the class uses (v 2.5.4, or something). One thing they changed is that print is now a function, so you have to enclose its arguments in parentheses. Go to your shell window and type "print 'foo'" and if you get an error you're probably using v3. Actually, when I start my IDLE python shell it prints the python version number. If you want to be super consistent with the class, it should be 2.5.4. If you want the latest compatible version, get 2.7.2.

OpenStudy (anonymous):

Wouldn't it be amazing if we could make this thread sticky!

OpenStudy (anonymous):

This and a thread on PS1 should always be on top!

OpenStudy (anonymous):

It's not like we'd even need mods. Someone could call for a vote to have a question go sticky, and then if enough votes go through bam, its sticky. Maybe they should focus on fixing the things that DON'T work before adding new things, though.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!