两款超级方便的python环境:Google Colab和Spyder
Google Colab和Spyder是两种最傻瓜,最方便的使用python的方法。一键部署,即插即用。
Google Colab and Spyder are two of the simplest and most convenient methods for using Python.
1. Google Colab
Google Colab是一个可以运行python的在线服务。
Google Colab is an online service that allows you to run Python.
点击https://colab.research.google.com/,跳转到Google Colab的欢迎页面,它会自动打开Open notebook窗口。点击左下角的"New notebook"。
To use it, visit Google Colab's homepage https://colab.research.google.com/ . This will automatically open the 'Open notebook' window. Click the "New notebook" button on the left-bottom.
如果Open notebook窗口没有自动打开,点击左上角菜单栏的File-New notebook。
If this window doesn't appear, you can create a new notebook by clicking 'File' and then 'New notebook' from the top left menu.
这样就已经可以开始编程了。在光标闪烁处键入python程序,之后点击上方黑色三角形运行此程序。
Once you're set up, you can start programming right away. Just type your Python code where the cursor blinks, and execute the program by clicking the black triangle at the top.
2. Spyder
也可以将python安装在自己的电脑上离线使用,通常这一过程会有点复杂,最简单的方法之一是通过Spyder安装。
For offline Python usage, installing Python on your computer is an option, though it can sometimes be a bit complex. One of the simplest methods is to install Python via Spyder.
首先下载Spyder的安装程序。https://sourceforge.net/projects/spyder.mirror/
First, download the Spyder installer from https://sourceforge.net/projects/spyder.mirror/ .
下载好了之后,双击运行安装程序。
After downloading, run the installer.
安装好了之后,打开spyder,单击"Dismiss"跳过教程。
Once Spyder is installed, open it and click 'Dismiss' to skip the tutorial.
在左边输入python代码,就能在右边看到输出了。
You can then enter Python code on the left side and see the output on the right.




