sgimenez / laby

Learn programming, playing with ants and spider webs ;-)
https://sgimenez.github.io/laby/
Other
98 stars 39 forks source link

How to manage standard input and output? #50

Open fpitari opened 7 years ago

fpitari commented 7 years ago

I'm involved in a school project for teaching Python in an high school, we adopted Laby and I think it's just awesome! Thanks for developing it! Anyhow, we was wondering if there is a way to print standard output in the message box and/or to wait for user's input with python "input" function. This would allow us to adopt Laby alone as a complete IDE for the very first programs. Thanks!

sgimenez commented 7 years ago

Hi, glad to hear that.

It's not currently possible to read input, but for output you can say("something"), it will appear in the message box.

Cheers, Stéphane

On Tue, Oct 17, 2017 at 3:01 PM fpitari notifications@github.com wrote:

I'm involved in a school project for teaching Python in an high school, we adopted Laby and I think it's just awesome! Thanks for developing it! Anyhow, we was wondering if there is a way to print standard output in the message box and/or to wait for user's input with python "input" function. This would allow us to adopt Laby alone as a complete IDE for the very first programs. Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sgimenez/laby/issues/50, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0bcaMZ7u5-vniTT3dOTshhBIdEoOi8ks5stKUPgaJpZM4P8HHD .