1.点击菜单栏run->edit configurations

pycharm中通过命令行运行程序,进行程序调试

2.如果命令行输入python ecode.py --users --items,则在parameters框中输入--users --items

pycharm中通过命令行运行程序,进行程序调试

相关文章: