googlecolab / colabtools

Python libraries for Google Colaboratory
Apache License 2.0
2.18k stars 708 forks source link

A decent input like in a terminal? #4623

Open 0wwafa opened 3 months ago

0wwafa commented 3 months ago

if in a cell I write:

!read -p "Enter string: " a

I get this: image

It would be way nicer if we could get tha same we get in a terminal session: a flashing cursor waiting for input:

Also I find very silly to allow terminal sessions only to pro users while it's very simple to have a terminal shell. Don't you think this damages the normal users while the more expert ones have simple ways to do so?

EvanWiederspan commented 3 months ago

Tracking internally at b/347015214

0wwafa commented 3 months ago

Tracking internally at b/347015214

@EvanWiederspan still nothing.. it's so silly.... testing a few commands interactively then copy and paste them in a notebook would be handy and that's why I wrote a terminal shell for colab. Anyone can use it. So do the right thing :D