标签:style blog http io os ar for sp div
1. 下载readline模块
http://newcenturycomputers.net/projects/readline.html
2. install readlinemodule
3. edit and configure pythonstartup file%USERPROFILE%中,这是个系统变量,路径是c:\user\用户名\
4. add the enviroment varable to system with administrator role
For windowns
pythonstartupf=path/pythonstartup.py
将.startup.py放到%USERPROFILE%
添加环境变量PYTHONSTARTUP,
值为%USERPROFILE%\.startup.py
For Linux
add the following to you~/.bash_profile
export PYTHONSTARTUP=~/.pythonstartup
标签:style blog http io os ar for sp div
原文地址:http://www.cnblogs.com/celia01/p/4062911.html