![]() Type "help", "copyright", "credits" or license for more information.īecause of the settings you included in your PATH variable, you can now run this interpreter - and, more important, a script - from any directory on your system. That will load the Python interpreter: Python 2.7.3 (default, Apr 10 2012, 14:24) on win32 ![]() Now, you can open a command prompt (Start Menu|Accessories or Start Menu|Run|cmd) and type:.In the User Variables section, edit the PATH statement to include this:Ĭ:\Python27 C:\Python27\Lib\site-packages\ C:\Python27\Scripts\.In the next dialog, select Environment Variables.In the dialog box, select Advanced System Settings.Right-click Computer and select Properties.Next, set the system’s PATH variable to include directories that include Python components and packages we’ll add later. Run the installer and accept all the default settings, including the “C:\Python27” directory it creates.ģ.Note: Python currently exists in two versions, the older 2.x series and newer 3.x series (for a discussion of the differences, see this). (Thanks to commenters for pointing this out.) A 64-bit version is available, but there are compatibility issues with some modules you may want to install later. Visit the official Python download page and grab the Windows installer.I’ve been planning some training around Python soon, so I compiled this quick setup guide as a reference. ![]() Many newsroom types spend the day in Windows without the option of Ubuntu or another Linux OS. Note: Also see my guide for setting up Python under Windows 10!Īn all-wise journalist once told me that “everything is easier in Linux,” and after working with it for a few years I’d have to agree - especially when it comes to software setup for data journalism.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |