Hello,world!
命令行模式
python3 -c 'print("Hello,world!")'交互模式
$ python3
Python 3.8.2 (default, Mar 9 2020, 16:57:08)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print("Hello,world!")
Hello,world!
>>> exit()脚本模式
最后更新于