[入門級]Setting up Python in Windows 7
An 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. But …
Many newsroom types spend the day in Windows without the option of Ubuntu or another Linux OS. I’ve been planning some training around Python soon, so I compiled this quick setup guide as a reference. I hope you find it helpful.
Set up Python
Get started:
1. Visit the official Python download page and grab the Windows installer. Choose the 32-bit version. A 64-bit version is available, but there are compatibility issues with some modules you may want to install later. (Thanks to commenters for pointing this out.)
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). This tutorial focuses on the 2.x series.
2. Run the installer and accept all the default settings, including the “C:\Python27″ directory it creates.
3. Next, set the system’s PATH variable to include directories that include Python components and packages we’ll add later. To do this:
• Right-click Computer and select Properties.
• In the dialog box, select Advanced System Settings.
• In the next dialog, select Environment Variables.
• In the User Variables section, edit the PATH statement to include this:
Many newsroom types spend the day in Windows without the option of Ubuntu or another Linux OS. I’ve been planning some training around Python soon, so I compiled this quick setup guide as a reference. I hope you find it helpful.
Set up Python
Get started:
1. Visit the official Python download page and grab the Windows installer. Choose the 32-bit version. A 64-bit version is available, but there are compatibility issues with some modules you may want to install later. (Thanks to commenters for pointing this out.)
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). This tutorial focuses on the 2.x series.
2. Run the installer and accept all the default settings, including the “C:\Python27″ directory it creates.
3. Next, set the system’s PATH variable to include directories that include Python components and packages we’ll add later. To do this:
• Right-click Computer and select Properties.
• In the dialog box, select Advanced System Settings.
• In the next dialog, select Environment Variables.
• In the User Variables section, edit the PATH statement to include this:
CODE:
C:\Python27;C:\Python27\Lib\site-packages\;C:\Python27\Scripts\;來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-732039/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Webots入門(一)-build up a worldWebUI
- Setting up Samba3.6.9 on Oracle Linux 6SambaOracleLinux
- Not enough space to build proposed filesystem while setting up superblockUIWhileBloC
- volley建立請求佇列(Setting Up a RequestQueue)佇列
- Webots入門(二)-build up a controllerWebUIController
- Setting up ASM on linux with LVM (Doc ID 292348.1)ASMLinuxLVM
- Setting up your App domain for SharePoint 2013APPAI
- oracle 10g advanced replication ---setting up deployment templateOracle 10g
- 0基礎7日入門PythonPython
- Python程式設計入門(7) (轉)Python程式設計
- Python 入門級報錯處理Python
- android-Adding Search Functionality,Setting Up the Search InterfaceAndroidFunction
- Python入門基礎–三級選單Python
- setting up materialized view sites for oracle10g advanced replication mvZedViewOracle
- js入門(7)JS
- 推薦 7 個 Python 入門視訊教程Python
- Python入門基礎教程(兒童版) [分享一本入門級教程]Python
- Python爬蟲怎麼入門-初級篇Python爬蟲
- 使用CocoaPods 時卡在這 Setting up CocoaPods master repo 不動AST
- 初級安全入門——Windows作業系統的安全加固Windows作業系統
- Python 入門到精通(1):Windows 搭建 Python 開發環境PythonWindows開發環境
- Python基礎入門(7)- Python異常處理機制Python
- Elasticsearch(windows)使用入門ElasticsearchWindows
- github windows 入門教程GithubWindows
- grafana初級入門Grafana
- 入門級前端教程前端
- jhtm 入門級框架框架
- 用Python和Pygame寫遊戲-從入門到精通(7)PythonGAM遊戲
- 用Pygame和Python做遊戲-從入門到精通(7)GAMPython遊戲
- Python入門Python
- 在 Microsoft Dynamics NAV 2018 Setting Up and Using a Purchase Approval WorkflowROSAPP
- PyCharm入門級使用指南,Python開發必備!PyCharmPython
- Windows 7的10大升級理由Windows
- Windows Terminal 新手入門Windows
- SQL入門之7 鎖SQL
- 入門級的Git操作Git
- Java註解(入門級)Java
- PJzhang:python基礎入門的7個療程-sevenPython