Running python from pty without prompt

Steve D'Aprano steve+python at pearwood.info
Fri Dec 9 20:43:22 EST 2016


On Sat, 10 Dec 2016 10:11 am, space.ship.traveller at gmail.com wrote:

> Hello.
> 
> I'm working on a script runner for Atom.
> 
> https://github.com/ioquatix/script-runner
> 
> We are trying to understand how to make python work well. I'll use a
> comparison to the ruby executable because it's convenient to explain the
> problem.

Could you show a small, simple demonstration of both the Ruby code that
works they way you want, and the Python code that behaves differently?

Preferably one that runs straight from vanilla Python without any
third-party libraries, including your script-runner.



-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list