使用IDEA/Ipython来编写python代码

python programming using IDEA or Ipython
python机器学习常用package:
Numpy
Scipy
scikit-learn: is a Python module for machine learning built on top of SciPy and distributed under the 3-Clause BSD license.


在IDEA中编写python程序:
IDEA settings中安装Python插件。
打开已有python项目。
project structure设置Project SDK,选择python2.7.6 (/usr/bin/python2.7)。

使用Ipython:
ipython是一个 python 的交互式 shell,比默认的python shell 好用得多,支持变量自动补全,自动缩进,支持 bash shell 命令,内置了许多很有用的功能和函数。在ubuntu 下只要 sudo apt-get install ipython 就装好了,通过 ipython 启动。
安装:pip install ipython
进入:ipython

猜你喜欢

转载自blog.csdn.net/zhangweijiqn/article/details/53216122
今日推荐