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

step1:install python, download from https://www.python.org/downloads/windows/, 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 (http://pydev.sourceforge.net/updates) 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->python Interpreter


step5:new project,package,module

eclipse: File->New->New Project


(2)File-New-Pydev Module,然后Name随便写为Pydev,其它项默认,然后finish
(3)然后在出来的Pydev.py中写一句最简单的代码,在注释下面写一行print("Hello World!")
(4)点击Run as...,选择Python Run,运行后将会在Console里面显示出结果:Hello World!    证明成功,呵呵。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值