Windows
- Go to https://atom.io with your browser, get the Atom text editor, and install it. You do not need to be the administrator to do this.
用你的浏览器前往 https://atom.io ,获取并安装原子文本编辑器。你不需要管理员身份去执行它。
- Make sure you can get to Atom easily by putting it on your desktop and/or in Quick Launch.
Both options are available during setup. If you cannot run Atom because your computer is not
fast enough, then see the Alternative Text Editors section at the end of this exercise.
确保你能够更方便的打开原子编辑器,建议在桌面上创建一个快捷方式。所有选项都可用在安装中。如果你不能运行原子编辑器是因为你的电脑性能不够好,然后在最后的练习中看看其他文本编辑器。
- Run PowerShell from the Start menu. Search for it, and just press Enter to run it.
运行脚本在开始菜单。搜索 PowerShell ,然后按 Enter 回车运行它。
- Make a shortcut to it on your desktop and/or Quick Launch for your convenience.
在桌面上建一个快捷方式或者是根据你的经验运行。
- Run your PowerShell program (which I will call Terminal later). It won’t look like much.
运行 PowerShell 程序(以后我将这个称为终端。)这样看起来不会太多。
- Download Python 3.6 from https://www.python.org/downloads/release/python-360/ and install it. Be sure to check the box that says to add Python 3.6 to your path.
在python官网中下载python 3.6
https://www.python.org/downloads/release/python-360/ 并安装。确保检查安装窗口中提示的为
python 3.6 添加环境变量
- In your PowerShell (Terminal) program, run python. You run things in Terminal by just typing
the name and pressing Enter. If you type python and it does not run, then you have to reinstall
Python and make sure you check the box for “Add python to the PATH.” It’s very small so look
carefully.
在终端中,运行python。在终端运行输入python 类型的名字,并按Enter键,如果你的python版本中无法运行,然后你不得不重装python,在安装的时候确保勾选“添加python至环境变量”,它很聪明因此要谨慎一点
- Type quit(), and press Enter to exit python.
输入
quit()
,按回车键就可以退出python了。