linux命令行下 vim hello.py hello.py文件中插入如下代码: #!/use/bin/env python print("hello,World") 执行:./hello.py 即可。 ps:执行前要给予hello.py执行权限,chmod 755 hello.py 相关文章: 2021-12-12 2021-12-06 2021-12-24 2021-09-04 2022-01-13 2021-06-16 2021-04-30 2021-11-20