PyCharm EDU 2: Input not working

Please help! I am using Pycharm Edu to demo python code to my students. My code uses the input function to ask the user for input. However, when debugging, the python console steals all input and stalls the program; I need to show the code as it steps.

1 comment
Comment actions Permalink

Hi, Stephen!

 

The only workaround I can suggest you:

1) Use Settings(Preferences on Mac) -> Appearance&Behavior -> Menus and Toolbars -> Restore all Defaults

2) Put breakpoint on the first line of your file 

3) Run Menu -> Debug.. -> Select your file  

4) When your code waits for input type it in "console" tab of debugger window.

 

I know that it's really inconvenient, so please vote for this bug to be fixed https://youtrack.jetbrains.com/issue/PY-16825 

0

Please sign in to leave a comment.