Crawler 002_python program terminal operation_file operation_ipython use---python work notes 020

Running a file with python is to write a file ending in .py

then save

 

Then directly in cmd, python and write the path of the py file.

 

then look at the content

 

Take a look at running in the terminal, enter python directly to enter the python environment, and then write python code

Enter to run

 

Exit can use exit()

 

Guess you like

Origin blog.csdn.net/lidew521/article/details/131907522