#MOOC question: So I know we're supposed to have version 2.6 of Python in IDLE, but since I've upgraded to the most recent version of Ubuntu on my laptop, that version doesn't seem to be compatable. Is there code I can run in the shell to mimic 2.6 or any other work-arounds? I downloaded 2.7 because that was the oldest version available in the Unbuntu Software Center. The link to the work-around in the MIT course materials seems to be broken.
I've got Python 2.7 also. I don't think it makes much difference . MMooc's FAQs says What version of Python is it? "The course uses Python 2.6, and the Codecademy exercises are written to 2.7. The differences won’t make much differences in the context of the class" So I'm not going to change it.. My guess is that as long as it isn't Python 3 then things should work out.
Great, thanks!
Python 2.6 and 2.7 have no syntax changes that really breaks OCW courses, so you can just go on and use 2.7 on your Ubuntu. The only differences are listed here: http://docs.python.org/dev/whatsnew/2.7.html and although it does cover some new syntaxes, you shouldn't worry about that as they're usually pretty advanced.
I think it would only be a problem if you had version > 3
To be honest I installed version 3.2 and there are a few changes here and there (i.e. input instead of raw_input, or the more confusing at first print (x)), but the logic is the same.
try http://openstudy.com/study#/updates/502ee916e4b0e46adced0063 ...worked on Ubuntu 12.04, with Python 2.7 already installed.
Join our real-time social learning platform and learn together with your friends!