1、在电脑上打开IDLE(Python)软件。
2、点击“File”。
3、点击“New File”。
4、新出的文件即会出现Run按钮,写好Python代码后,点击“Run”。
5、点击“Run Module”即可运行该程序。