|
天堂之光 人间希望
你我共同品味
JAVA的浓香.
Linux的清芬. |
| « | November 2025 | » | | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | | | | | | | |
| 链接 |
联系我
msn:zhanglincon@hotmail.com |
| Blog信息 |
|
blog名称: 日志总数:99 评论数量:281 留言数量:4 访问次数:815481 建立时间:2005年11月17日 |

| |
|
用Eclipse开发Python的详细配置(eclipse3.x+python3.x) 原创空间, 软件技术
zhanglincon 发表于 2009/2/25 17:05:08 |
|
一.配置。
1. 下载eclipse 版本:我用的是:3.2.0(更高版本也可以) 中文
2. 下载最新的python3.0.1 安装包并安装。这个过程很简单,不多说。
下载地址:http://www.python.org/download/
3. 安装 PyDev 插件地址:http://pydev.sf.net/updates/ 插件安装方式就不啰嗦了。
4. 安装成功之后打开参数设置面板,如图:
500)this.width=500'>
安装成功后会看到pydev选项. 选择 interpreter -Python, 最上面一栏选择 新建(W) 找到python3.0的安装目录,选择python.exe。点击应用,一切配置成功后的截图如下:
500)this.width=500'>
ok~~~~完成到这一步就可以新建python工程,开始写python啦~~~~~^_^~~~~~第一次写这样的教程,讲解得应该还算清晰吧~~~~~~~~
python是个好东西,还在学习中...............哈哈~~~~~~~好好学习,天天向上
写hello world首先是建一个项目,选文件--->新建项目--->pydev下的pydev project
500)this.width=500'>500)this.width=500;" border=0>
500)this.width=500'>500)this.width=500;" border=0>
500)this.width=500'>500)this.width=500;" border=0>
包名先不用写
500)this.width=500'>500)this.width=500;" border=0>
500)this.width=500'>500)this.width=500;" border=0>
python3.0以后去除print语句,加入print()函数实现相同的功能。同样的还有exec语句,已经改为exec()函数。去除了<>,全部改用!=。所以下面的语句语法错误。
500)this.width=500'>500)this.width=500;" border=0>
编译执行
500)this.width=500'>500)this.width=500;" border=0>
|
|
|
回复:用Eclipse开发Python的详细配置(eclipse3.x+python3.x) 原创空间, 软件技术
骇小J(游客)发表评论于2012/6/6 1:52:52 |
|
» 1 »
|