首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
cmd 中执行python
XXXX.py
命令 无效
cshcool
·
2012-07-11 16:23:45 +08:00
· 7380 次点击
这是一个创建于 4483 天前的主题,其中的信息可能已经有所发展或是发生改变。
如题,之前还是可以默认打开python的idle的,可能被我折腾了一阵子把py文件的默认打开方式改来改去后,现在在cmd窗口中执行 python XXXX.py 的命令没有任何反映,环境变量中也有添加 python.exe的路径。
请问这是怎么回事呢?
Python
py
Cmd
2 条回复
•
1970-01-01 08:00:00 +08:00
1
jimmykuu
2012-07-11 16:27:48 +08:00
1
直接在控制台中输入python呢?能打开交互环境不?如果能打开,说明环境变量没问题。
看你的情况好像是XXXX.py没有任何输出,看上去没有任何反应。
2
armoni
2012-07-11 22:52:46 +08:00
1
没报错的话,检查下代码是否有输出,命令有问题直接报不存在此命令
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
2354 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms ·
UTC 05:48
·
PVG 13:48
·
LAX 22:48
·
JFK 01:48
Developed with
CodeLauncher
♥ Do have faith in what you're doing.