python怎么安装idle
开始->程序->Python2.*/3.*->IDLE(PythonGUI)
如此就打开了PythonShell->File->Newwindow(Ctrl+N)
就出现了python编辑器
编写代码比如
print('HelloWorld')
然后保存文件为helloworld.py(注意记得加py扩展名,默认是不会自动加添的)。
在编辑器窗口按F5即可在PythonShell中看到结果。
以上内容为大家介绍了python怎么安装idle,希望对大家有所帮助,如果想要了解更多Python相关知识,请关注IT培训机构:千锋教育。

猜你喜欢LIKE
相关推荐HOT
更多>>
python怎么安装idle
开始->程序->Python2.*/3.*->IDLE(PythonGUI)如此就打开了PythonShell->File->Newwindow(Ctrl+N)就出现了python编辑器编写代码比如p...详情>>
2023-11-09 21:11:47
python工具包如何安装
python安装工具包的方式总结一下:1.、在spyder中安装:打开命令窗口:选择Tools下的“opencommandprompt”,输入:pipinstall安装包名字==版本...详情>>
2023-11-09 20:39:21
Python写完代码怎么用
python运行有两种方式,一种是在python交互式命令行下运行;另一种是使用文本编辑器,在命令行中直接运行。一、命令行与交互式命令行首先要搞清...详情>>
2023-11-09 16:31:06
Python怎么运行shell脚本
Python作为一门脚本语言,有时候需要与shell命令交互式使用,在Python中提供了很多的方法可以调用并执行shell脚本,本文介绍几个简单的方法。一...详情>>
2023-11-09 16:10:05