How to use the Python getpass.getpass in PyCharm

前端 未结 6 1146
醉话见心
醉话见心 2020-12-08 14:17

I have found getpass does not work in PyCharm. It just hangs.

In fact is seems msvcrt.getch and raw_input also don\'t work, so perhaps the issue is not with getpass

6条回答
  •  爱一瞬间的悲伤
    2020-12-08 14:49

    I've run into this running Pycharm CE 4.5 on Windows. The workaround I use is to run your program in debug mode, then you get a console tab where you can enter your password when using getpass.

提交回复
热议问题