livepython icon indicating copy to clipboard operation
livepython copied to clipboard

Not able to input in console on Windows

Open pwab opened this issue 8 years ago • 1 comments

System

Windows 7 x64 Python 3.6.1 on win32 [!] Not sure if this happens on other systems as well

Description

When running scripts containing an input()-function I am not able to input something and so the execution stops.

input

Steps to reproduce

  1. Create a test.py with following content:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

x = input('Input something: ')
print(str(x))
  1. Open console window and run with livepython

livepython test.py

  1. Try to input something in the console window

pwab avatar Nov 08 '17 12:11 pwab

You can work around this by passing any input you'd need as argv, might not be reasonable depending on the program.

JonReinhold avatar Feb 17 '19 02:02 JonReinhold