为什么运行python会出错process finished with exit code
1. python运行结束出现:
process finished with exit code 0
说明,程序正常运行完。
例如:test1.py文件如下代码
a = 1/1
print a
运行后出现:
1
Process finished with exit code 0
=============================
2. 如果出现:
process finished with exit code 1
说明程序出错,也就是代码有问题。
例如:test2.py
a = 1/0
print a
运行后出现:
Traceback (most recent call last):
File "/Users/pwd/work/project/AnyData/data/test3.py", line 36, in <module>
a = 1/0
ZeroDivisionError: integer division or modulo by zero [报错:0不能被除]
Process finished with exit code 1
1. python运行结束出现:process finished with exit code 0
说明,程序正常运行完。
例如:test1.py文件如下代码
a = 1/1
print a
运行后出现:Process finished with exit code 0
2. 如果出现:
process finished with exit code 1
说明程序出错,也就是代码有问题。
例如:test2.py
a = 1/0
print a
运行后出现:
Traceback (most recent call last):
File "/Users/pwd/work/project/AnyData/data/test3.py", line 36, in <module>
a = 1/0
ZeroDivisionError: integer division or modulo by zero [报错:0不能被除]
Process finished with exit code 1
打开package.json赋值node后面的路径。我这里是./bin/www
在工具栏点卡发布项目下拉按钮,选择Edit Confingurations
配置javascript file为./bin/www保存即可o
ok。