Eclipse 配置excefile 省去命令麻烦
2018-11-17 本文已影响0人
心悦伊兮HandH
原因
在django1.6下,没有太好办法执行类似 python manage.py shell << file 这种过程
Eclipse 配置完成一键启动 指定shell 内容
![](https://img.haomeiwen.com/i14867301/31159763e1f5ddef.png)
![](https://img.haomeiwen.com/i14867301/c0a477567b54e483.png)
![](https://img.haomeiwen.com/i14867301/24822c0d26a104a8.png)
![](https://img.haomeiwen.com/i14867301/3255882789516622.png)
![](https://img.haomeiwen.com/i14867301/7b41f8762c684058.png)
然后真正执行的shell 在 fsuk_test.py里
最重要的是需要给需要执行的shell添加执行权限
chmod +x fsuk_test.py
在django1.6下,没有太好办法执行类似 python manage.py shell << file 这种过程
然后真正执行的shell 在 fsuk_test.py里
最重要的是需要给需要执行的shell添加执行权限
chmod +x fsuk_test.py