Re: Keyboard input

2010-01-31 Thread Steven D'Aprano
On Sun, 31 Jan 2010 14:10:34 -0800, Dennis Lee Bieber wrote: > On Sun, 31 Jan 2010 11:51:46 +, "Mr.SpOOn" > declaimed the following in gmane.comp.python.general: > >> 2010/1/29 Gabriel Genellina : >> > >> > That's strange. If you're using Linux, make sure you have the >> > readline package i

Re: Keyboard input

2010-01-31 Thread Mr.SpOOn
2010/1/29 Gabriel Genellina : > > That's strange. If you're using Linux, make sure you have the readline > package installed. I'm using Linux. Ubuntu. I checked on synaptic and I have readline-common. Do you mean something else? Anyway I tried running the program in the iPython shell and it works

Re: Keyboard input

2010-01-30 Thread Nobody
On Fri, 29 Jan 2010 16:53:43 +, Mr.SpOOn wrote: > I'm using the raw_input method and it works fine, but I noted that I can't > use backspace and when I accidentally press shift space (because I need to > input uppercase letters separated by a space) it writes some strange > characters. > > So

Re: Keyboard input

2010-01-29 Thread Steven D'Aprano
On Fri, 29 Jan 2010 18:38:47 -0300, Gabriel Genellina wrote: >> I'm using the raw_input method and it works fine, but I noted that I >> can't use backspace and when I accidentally press shift space (because >> I need to input uppercase letters separated by a space) it writes some >> strange charac

Re: Keyboard input

2010-01-29 Thread Jonathan Gardner
On Jan 29, 8:53 am, "Mr.SpOOn" wrote: > Hi, > I need to get keyboard input in a python program. I need it to let the > user choose some options, for example: > > 1) option 1 > 2) option 2 > 3) option 3 > > and then to input some data to the program. > > I'm using the raw_input method and it works

Re: Keyboard input

2010-01-29 Thread rantingrick
On Jan 29, 3:38 pm, "Gabriel Genellina" wrote: > but it's a big   > move. wxPython would let you write a graphical interface (and it's a   > bigger move!) > > -- > Gabriel Genellina *ahem*!, tkinter is just a slightly medium move, and my god it's in the stdlib for crying out loud!! -- http://

Re: Keyboard input

2010-01-29 Thread Gabriel Genellina
En Fri, 29 Jan 2010 13:53:43 -0300, Mr.SpOOn escribió: I need to get keyboard input in a python program. I need it to let the user choose some options, for example: 1) option 1 2) option 2 3) option 3 and then to input some data to the program. I'm using the raw_input method and it works f