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
gobetago
V2EX  ›  Python

windows sever 2012 打开 py 文件,一闪而过是怎么回事?

  •  
  •   gobetago · 2018-09-21 13:58:22 +08:00 · 2155 次点击
    这是一个创建于 2016 天前的主题,其中的信息可能已经有所发展或是发生改变。
    8 条回复    2018-09-24 14:46:25 +08:00
    c00WKmdje2wZLrSI
        1
    c00WKmdje2wZLrSI  
       2018-09-21 14:04:05 +08:00
    因为运行结束了呗,你在最后一行加一句 input() 就好了
    imn1
        2
    imn1  
       2018-09-21 14:08:05 +08:00
    第一次用 cmd 程序?
    delectate
        3
    delectate  
       2018-09-21 15:04:42 +08:00
    要么是出错崩溃了,要么是运行完关闭了。

    在 cmd 里打开。
    skylancer
        4
    skylancer  
       2018-09-21 15:24:55 +08:00
    第一次用 CLI 程序么.. 用 cmd 跑起来脚本啊...
    crazycabbage
        5
    crazycabbage  
       2018-09-21 15:33:43 +08:00 via iPhone
    让我想起大一实验课一闪而过的 c 语言 hello world
    wohenyingyu03
        6
    wohenyingyu03  
       2018-09-21 16:06:04 +08:00 via iPhone
    电脑坏了
    lengyihan
        7
    lengyihan  
       2018-09-22 15:30:44 +08:00 via Android
    多半是废了
    genel
        8
    genel  
       2018-09-24 14:46:25 +08:00
    @c00WKmdje2wZLrSI 不要这么做,这不 posix。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3024 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:03 · PVG 19:03 · LAX 04:03 · JFK 07:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.