原博客地址
1、新建一个 .py文件,如test_hello.py;
2、右键,Edit with IDLE(即Python GUI)
3、编写代码
hello =
"hello"
print(hello)
#####################################
test_list = [1,2,3,4,
"minglang"]
for i
in range (1,10
):
test_list.append(i)
print (test_list)
View Code
4、Run->Run module F5 运行程序,结果如下
5、Debug
点开Shell窗口的Debug—> F5 —>Debug窗口的Go
转载于:https://www.cnblogs.com/yml6/p/6112914.html