Java-like input scanner for Python.