Invoking python under CygWin on Windows hangs

前端 未结 8 967
梦谈多话
梦谈多话 2020-12-04 19:44

Installing a new Windows system, I\'ve installed CygWin and 64 bit Python (2.7.3) in their default locations (c:\\cygwin and c:\\Python27\\python),

8条回答
  •  执念已碎
    2020-12-04 20:05

    Try this

    python -i
    

    and yes you will find some glitches here and there !!!

    Option -i forces an interactive prompt as shown in Python help python -h page here.

    $ python -h
    -i  : inspect interactively after running script; 
          forces a prompt even if stdin does not appear to be a terminal;
          also PYTHONINSPECT=x
    

提交回复
热议问题