在windows下进行开发,必须安装python sdk。Mac已经自带了python运行环境,所以只需安装一个IDE就行了。
这里我用的是Mac下的IDEA,只需要指定 sdk 的目录即可 : file -> file struc -> project ->新建一个sdks就可以了
然后在工程下新建一个 python file ,直接在里面输入 print 'hello,world'
运行的时候,单击文件空白的位置,右键 ‘run test.py’
在windows下进行开发,必须安装python sdk。Mac已经自带了python运行环境,所以只需安装一个IDE就行了。
这里我用的是Mac下的IDEA,只需要指定 sdk 的目录即可 : file -> file struc -> project ->新建一个sdks就可以了
然后在工程下新建一个 python file ,直接在里面输入 print 'hello,world'
运行的时候,单击文件空白的位置,右键 ‘run test.py’