Python如何使用gedit和powershell
第一步:安装gedit文本编辑器。写代码 print "hello world"保存到D盘根目录下。
第二步:打开powershell win+R 输入:powershell
第三步:在powershell中,输入D:切换到D盘,再输入dir,显示全部,最后输入:python 1.py 执行程序。
本文介绍如何通过gedit编辑器编写简单的Python程序,并在Windows的PowerShell环境中执行该程序。步骤包括安装gedit、编写示例代码、使用PowerShell进行程序执行等。
Python如何使用gedit和powershell
第一步:安装gedit文本编辑器。写代码 print "hello world"保存到D盘根目录下。
第二步:打开powershell win+R 输入:powershell
第三步:在powershell中,输入D:切换到D盘,再输入dir,显示全部,最后输入:python 1.py 执行程序。
4110
5936
3111

被折叠的 条评论
为什么被折叠?