Re: [Python] Gestione tastiera in un loop

2008-06-26 Per discussione Manlio Perillo
[EMAIL PROTECTED] ha scritto: > [EMAIL PROTECTED] ha scritto: > >> PhoneProfile.SerialPort sembra provenire da .NET. >> Che package stai usando per comunicare con la seriale? >> > Uso pySerial solo che PhoneProfile é una classe che sto buttando giù per > gestire il modem GSM e SerialPort é defini

Re: [Python] Gestione tastiera in un loop

2008-06-26 Per discussione farolfo
[EMAIL PROTECTED] ha scritto: > > PhoneProfile.SerialPort sembra provenire da .NET. > Che package stai usando per comunicare con la seriale? > Uso pySerial solo che PhoneProfile é una classe che sto buttando giù per gestire il modem GSM e SerialPort é definito così nella classe: self.SerialPort=

Re: [Python] Gestione tastiera in un loop

2008-06-26 Per discussione Manlio Perillo
[EMAIL PROTECTED] ha scritto: > -- > From: "Manlio Perillo" <[EMAIL PROTECTED]> > Sent: Thursday, June 26, 2008 12:28 PM > To: "Discussioni generali sul linguaggio Python" > Subject: Re: [Python] Gestione t

Re: [Python] Gestione tastiera in un loop

2008-06-26 Per discussione farolfo
-- From: "Manlio Perillo" <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2008 12:28 PM To: "Discussioni generali sul linguaggio Python" Subject: Re: [Python] Gestione tastiera in un loop > [EMAIL PROTECTED] ha scritto:

Re: [Python] Gestione tastiera in un loop

2008-06-26 Per discussione Manlio Perillo
[EMAIL PROTECTED] ha scritto: > Grazie per le risposte. Lo script per ora lo sto testando in windows e mac > os x. Vorrei poterlo poter far girare anche su linux, ma purtropo per ora > sto traslocando e non ho accesso per un po di giorni al pc dove ho > installato questo os > Ma stai usando .N

Re: [Python] Gestione tastiera in un loop

2008-06-26 Per discussione farolfo
tToOS() grazie luca -- From: "Manlio Perillo" <[EMAIL PROTECTED]> Sent: Thursday, June 26, 2008 11:14 AM To: "Discussioni generali sul linguaggio Python" Subject: Re: [Python] Gestione tastiera in un loop > Ci sono due soluzioni.

Re: [Python] Gestione tastiera in un loop

2008-06-26 Per discussione Manlio Perillo
[EMAIL PROTECTED] ha scritto: > Scusate la domanda forse sciocca ma sono ancora poco ferrarto in python Ciao. Innanzitutto dovresti indicare che piattaforma stai usando, spesso è fondamentale saperlo. > > Ho questo loop che legge di continuo i dati proveninti dalla porta seriale > >

Re: [Python] Gestione tastiera in un loop

2008-06-26 Per discussione Daniele Zambelli
On Wednesday 25 June 2008 11:38:40 [EMAIL PROTECTED] wrote: > Scusate la domanda forse sciocca ma sono ancora poco ferrarto in python > > Ho questo loop che legge di continuo i dati proveninti dalla porta seriale > > while 1: > ReadComm = PhoneProfile.SerialPort.readline() >

Re: [Python] Gestione tastiera in un loop

2008-06-25 Per discussione silvio berlingieri
ho trovato qualcosa qui http://www.java2s.com/Code/Python/Event/Keyactionanykeypressed.htm Il 25 giugno 2008 11.38, <[EMAIL PROTECTED]> ha scritto: > Scusate la domanda forse sciocca ma sono ancora poco ferrarto in python > [image: > Sorriso Emoticon] > > Ho questo loop che legge di continuo

[Python] Gestione tastiera in un loop

2008-06-25 Per discussione farolfo
Scusate la domanda forse sciocca ma sono ancora poco ferrarto in python Ho questo loop che legge di continuo i dati proveninti dalla porta seriale while 1: ReadComm = PhoneProfile.SerialPort.readline() if ReadComm!='': print ReadComm Ho guardato l