Re: getting scancodes

2007-04-24 Thread andmarti
On Tue, Apr 24, 2007 at 07:41:38AM -0700, [EMAIL PROTECTED] wrote: > On Apr 23, 7:39 pm, [EMAIL PROTECTED] wrote: > > Anyone knows if its possible to get scan codes ??? > > I tried with getch () but with no success, just keycodes. > > May be using the something in the sys.stdin module ?? > > > > Pl

Re: getting scancodes

2007-04-24 Thread andmarti
On Tue, Apr 24, 2007 at 09:32:29AM -0500, Larry Bates wrote: > Diez B. Roggisch wrote: > > [EMAIL PROTECTED] wrote: > > > >> On Tue, Apr 24, 2007 at 04:40:11AM -, Grant Edwards wrote: > >>> On 2007-04-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >>> > Anyone knows if its possible to

Re: getting scancodes

2007-04-24 Thread andmarti
On Tue, Apr 24, 2007 at 04:40:11AM -, Grant Edwards wrote: > On 2007-04-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Anyone knows if its possible to get scan codes ??? > > What hardware? What OS? Debian Sarge/Etch, i386.. :P Molte grazie. Andres M. > > > I tried with getch ()

getting scancodes

2007-04-23 Thread andmarti
Anyone knows if its possible to get scan codes ??? I tried with getch () but with no success, just keycodes. May be using the something in the sys.stdin module ?? Pleasee, any help would be very appreciated. -- Andrés M.

Get Shift + TAB in ncurses.

2007-04-11 Thread andmarti
Anyone can help me getting the shift + tab key combination ? I tried with getch () but with no success. May be using the sys.stdin ?? Please, help would be very appreciated. -- Andrés M. - -- http://mail.python.org/mailman/listinfo/python-list

Re: struct.pack returns nothing

2007-03-18 Thread andmarti
On Sun, Mar 18, 2007 at 10:22:32PM -0700, Alex Martelli wrote: > <[EMAIL PROTECTED]> wrote: > > > If I build a strict with: > > > > import struct > > print struck.pack ('i', 1) > > > > it returns a '\n'. > > What's wrong with it??? > > :( > > You're trying to print a binary string that's hardly

Re: struct.pack returns nothing

2007-03-18 Thread andmarti
On Sun, Mar 18, 2007 at 10:22:45PM -0700, [EMAIL PROTECTED] wrote: > On Mar 19, 1:12 am, [EMAIL PROTECTED] wrote: > > If I build a strict with: > > > > import struct > > print struck.pack ('i', 1) > > > > it returns a '\n'. > > What's wrong with it??? > > :( > > > > -- > > Andrés M. > > ---

struct.pack returns nothing [2]

2007-03-18 Thread andmarti
On Mon, Mar 19, 2007 at 02:12:39AM -0300, [EMAIL PROTECTED] wrote: > If I build a strict with: Sorry, I meant script. > > import struct > print struck.pack ('i', 1) > > it returns a '\n'. > What's wrong with it??? > :( > -- Andrés M. - -- http://mai

struct.pack returns nothing

2007-03-18 Thread andmarti
If I build a strict with: import struct print struck.pack ('i', 1) it returns a '\n'. What's wrong with it??? :( -- Andrés M. - -- http://mail.python.org/mailman/listinfo/python-list