Eclipse 配置excefile 省去命令麻烦

原因

在django1.6下,没有太好办法执行类似 python manage.py shell << file 这种过程

Eclipse 配置完成一键启动 指定shell 内容

Eclipse 配置excefile 省去命令麻烦_第1张图片
image.png
Eclipse 配置excefile 省去命令麻烦_第2张图片
image.png
Eclipse 配置excefile 省去命令麻烦_第3张图片
image.png
Eclipse 配置excefile 省去命令麻烦_第4张图片
image.png
Eclipse 配置excefile 省去命令麻烦_第5张图片
image.png

然后真正执行的shell 在 fsuk_test.py里
最重要的是需要给需要执行的shell添加执行权限
chmod +x fsuk_test.py

你可能感兴趣的:(Eclipse 配置excefile 省去命令麻烦)