To try this out, type the above into a text editor and save the file as "test.html", then view the file in a web browser.
要试验它,可以在文本编辑器里面输入上面的代码并保存文件为“test . html”,然后在一个浏览器中查看这个文件。
When you type them into the Python interpreter (or if you save them in a file and execute them as a Python program), the statements are read starting on the left side and progressing to the right.
当把它们键入Python解释器中(或者将它们保存在一个文件中,并作为一个Python程序来执行)时,读取语句的顺序是从左到右。
You have two options: you can extract the file called test. py from the zip file associated with this article or you can type the function into an editor and save the file as test.py.
有两个选择:您可以从与本文相关的压缩文件中提取名为test . py的文件,也可以在编辑器中键入函数,然后将文件保存为test . py。
应用推荐