如何在windows下搭建python的IDE開發環境


step1:install python, download from http://www.python.org/getit/, choose windows version.

start->program->python2.7->IDLE(Python GUI), you can see:

Python 2.7.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32
Type “copyright”, “credits” or “license()” for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer’s internal loopback
interface.  This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 1.1.3
>>>

step2:install pydev plugin,

eclipse: help->install new sofeware->add, then input pydev url and Name(random), if you install successfully, you can from eclipse help->About Eclipse SDK->Installation Detail, then will see pydev plugin.

step3: configure

eclipse : Windows->Preferences->PyDev->Interpreter python

step5:new project,package,module

eclipse: File->New->New Project

 

 

(2)File-New-Pydev Module,然后Name隨便寫為Pydev,其它項默認,然后finish
(3)然后在出來的Pydev.py中寫一句最簡單的代碼,在注釋下面寫一行print 1
(4)點擊Run as...,選擇Python Run,運行后將會在Console里面顯示出結果:1   證明成功,呵呵。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM