脚本式编程
将如下代码拷贝至 hello.py文件中:
print ("Hello, Python!");
www#gaodaima.com来源gaodai#ma#com搞*!代#%^码网搞代码
通过以下命令执行该脚本:
$ <a href="https://www.gaodaima.com/tag/python" title="查看更多关于python的文章" target="_blank">python</a> ./hello.py hello,python
利用Python自带的IDEL
python 自带了一款 IDE,叫做 IDLE。
推荐学习《python教程》
来源:搞代码网:原文地址:https://www.gaodaima.com