Python(1)——安裝IDE和Hello Python

 
1.下載python.exe安裝
win7安裝時,中間有段時間須要等待很長時間

2.下載pydev
注意安裝前須要安裝
python2.1以上
eclipse3.2-3.7

3.安裝pydev
下載後把zip解壓到eclipse目錄下,把features和plugins覆蓋

4.配置
重啓eclipse後在eclipse的window->perperence裏可以看到pydev

點擊「Interpreter - python」->new->添加你的python安裝目錄下的python.exe

5.測試
new->other project->pydev->選擇pydev project

建立工程"HelloPython"

建立"hello"包
在__init__.py裏輸入
  1. print 'Hello python'
 

執行程序


執行結果:

end

個人博客其餘文章列表  
http://my.oschina.net/helu
相關文章
相關標籤/搜索