Re: Thread

2007-12-03 Thread Gianmaria Iaculo - NVENTA
Diez i'm so sorry, You are right. thank you. Gianmaria Firma Gianmaria Iaculo "Diez B. Roggisch" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Gianmaria Iaculo - NVENTA wrote: > >> >> Hi all, >> i'm using python 1.5.2

Thread

2007-12-03 Thread Gianmaria Iaculo - NVENTA
Hi all, i'm using python 1.5.2. Is it possible to use the Thread module? I need it for the Timer library. Regards, Gianmaria -- http://mail.python.org/mailman/listinfo/python-list

Events - Design Patterns

2007-11-30 Thread Gianmaria Iaculo - NVENTA
y mail.. but the reported mail address is no more valid...Someone used this?? Someone uses an other way for events??? Regards,Gianmaria -- http://mail.python.org/mailman/listinfo/python-list

Re: Bit Operations

2007-11-28 Thread Gianmaria Iaculo - NVENTA
John can you make an example of this solution? You maen that a more compact way is possible??? Firma Gianmaria Iaculo "John Machin" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > On Nov 29, 8:05 am, "Gianmaria Iaculo - NVENTA" > <[

Re: Bit Operations

2007-11-28 Thread Gianmaria Iaculo - NVENTA
aDecoded = x >> 4 and i have the 4 again...( a value) but i've some problems while i decode the b Where i go wrong? Gianmaria Firma Gianmaria Iaculo "Chris Mellon" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > On Nov 28, 2007 3:18 P

Re: Bit Operations

2007-11-28 Thread Gianmaria Iaculo - NVENTA
,12.345678 i can send it as it's or use the nibble trick and on the receiving station 'unlift" the data and rebuild the original information... isn'it??? cheers + TXS, Gianmaria ps: now i'm gonna read all your answers in details... txs again Firma Gianmaria Iaculo

Bit Operations

2007-11-28 Thread Gianmaria Iaculo - NVENTA
write A to the High nibble and B to the the lower nibble. Or an other example can be i've 2 numbers.. like 7 and 8 and whant to do the same as for chars. I'm really confused on how t do it, maybe cause python is type-less (dynamic typed) Any Help? Cheers, Gianmaria ITALY -- h

Re: Events: The Python Way

2007-07-29 Thread Gianmaria
gt;def __call__(self, *args, **kwargs): >for subscriber in self.subscribers: >subscriber(*args, **kwargs) > > > def HandleFoo(strng): >print "HandleFoo:", strng > > OnFoo = Event() > OnFoo += HandleFoo > > OnFoo("Test.") > >

Events: The Python Way

2007-07-28 Thread Gianmaria
t.SomethingChanged += new SomethingChangedHandler(aFunctionto_takecareof_it); and even the handlig of the event is aesy... void aFunctionto_takecareof_it(string msg) { } now the question is.. how can i do the same using Python? Every help is appreciated Regards, Gianmaria -- http://mail.py