how to set run arguments for python when using wing IDE?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 01:05:10

问题


how to set run arguments for python when using wing IDE?

D:\TEST\djgprj
├─.idea
├─testdjgprj.wpr
├─testdjgprj.wpu
└─testdjg
    ├─.idea
    ├─testdjg
    ├─manage.py
    ├─static
    └─templates

I create a project using wingIDE, and save to folder D:\TEST\djgprj, but the models, manage.py, programs are in folder D:\TEST\djgprj\testdjg. When I try to run manage.py using wingIDE, I dont know where to set arguments. I know there is one place which is Debug->Run Arguments, but it does not work well.


回答1:


Right click on the file (either in editor or Project tool) and select Properties and set the run args under Debug > Run Arguments.

If you mean sending arguments to Python itself and not your code, this is the Debug > Python Options property instead (the default is -u for unbuffered output).



来源:https://stackoverflow.com/questions/13812418/how-to-set-run-arguments-for-python-when-using-wing-ide

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!