如何在windows下搭建python的ide开发环境

 我来答
福喜900
2015-02-04 · TA获得超过6.1万个赞
知道大有可为答主
回答量:1.1万
采纳率:0%
帮助的人:1亿
展开全部

step1:install python, download from htt p:/ /w ww.py thon.o rg/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   证明成功,呵呵。

推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式