What needs to be done to set up a python and the environment for its development? (What to download, where to download, which medium to choose?)

  1. The choice fell on visual studio 2010 + python
  2. sublime text 2

But how to put the python itself in Windows 7 (x64)? And it's better to have 2 and 3 versions at once.

By the way, which one is better to write / teach?

Thanks in advance for the tips. :)

    2 answers 2

    Python and 2nd and 3rd versions can stand together (in different directories, of course). The only small problem is which of them will be started by the python command, but this is solved by setting the value of the PATH environment variable.

    Download here: Download Python . Take, for example, this (version numbers may change - take the latter):

    • Python 2.7.3 Windows X86-64 Installer
    • Python 3.2.3 Windows X86-64 MSI Installer

    By the way, which one is better to write / teach?

    I will give a purely subjective answer - it makes sense to take a third right away. True, most of the written codes are compatible with the second version, and not with the third one. But I think this is a temporary phenomenon.

    On the issue of the environment - it is more convenient for me to use Sublime Text 2 + console. Someone will be more comfortable VS2010 + PTVS or Eclipse - choose for yourself according to personal preferences.

    • Thank you for such a detailed response. Sublime Text 2 + console? And what are you using the console for? - Timi
    • one
      @Tim, Sublime is used purely as an editor, the console - for the execution of scripts. - eigenein
    1. First you need to put the Python interpreter (any version 2 or 3 will be suitable for studying), just under version 3, not all libraries have been ported yet. So it is better to write on 2, IMHO.

    2. As an IDE, I would recommend using PyCharm (paid, there is a trial). Sublime text2 is also not a bad thing.

    3. In Windows 64 easily installed 32 python
    4. You can put two versions of python at once. In the environment, you just need to select the execution interpreter.
    • @Anovoselof But what about the python 3.2 literature? - Timi
    • By version 3 I can not say. According to version 2 Mark Lutz - Anovoselof
    • 1. Lutz "Learning Python" - the book is interesting because Python 2 and 3 are described immediately and the differences are given. Very good book, but very puffy and too many words that sometimes suffices. But at the same time there are a lot of interesting nuances, etc. For the professional start, this is the most. 2. Specially for Python3 - Summerfield "Python3" - skegg