Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

hduff

  • one year ago

I have just started the January 2013 iteration of this course. I currently have Python 2.7 installed on my machine. Do I have to drop down to 2.6 to do this course?

  • This Question is Open
  1. pfontaine
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I asked the same question and was told 'Probably not', if that helps.

  2. AlexZet
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    "If you are working on your own machine, you will probably need to install Python. We will be using the standard Python software, available here. You should download and install version 2.6.x, not 2.7.x or 3.x. All MIT Course 6 classes currently use a version of Python 2.6." Copy and pasted from the assigments site. Even if you are able to the same things with a newer version it is clearly stated to use a 2.6.x version.

  3. tyteen4a03
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Honestly, it wouldn't make much of a difference. Python 2.6 and 2.7 has no syntax changes (the only difference you need to care about is the mutable set literal, backported from 3.1). In short, you can use 2.7 or 2.6, just not earlier versions or the 3.x line.

  4. KennethSills
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Python 2.X is forced to have backwards compatibility with all previous 2.X versions. The lack of BC is why Python 3 is such a flop at the moment. The instructions were because most people don't actually have Python installed on their machine by default. Specifically stating not 2.7 was because it includes features not included by 2.6. Therefore, you may end up using built ins and functions not included with 2.6, crashing your code when their automatic code testing tries to run it for grading.

  5. hduff
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Thanks All! Having bumped into some of the limits of code academy's automatic code checking in the past I'll do a down shift to 2.6. For an automated checker it does a great job but I've had it bork on me even when the code was correct. My real interest is Python 3.X and that's where I'll do any real project work in Python. However having a good overview of 2.6 or 2.7 can't hurt and as KennethSills pointed out 3.X is still in the process of being incorporated into the larger community.

  6. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.