Re: Howto on callbacks, queues and good design patterns

2007-12-29 Thread Lorenzo Mainardi
Nel mezzo del cammin di nostra vita, mi ritrovai con Michael Bernhard Arp
Sørensen che diceva:

> Hi there.
> 
> As a newbie, I need to learn about callbacks and queues(syntax and
> examples) working together.
> 
> At work we talk a lot about design patterns. Does any of you know a good
>   site about that or any good books from Amazon?
> 

Hello,
I think the best way to understanding queues and callbacks is to learn 
Twisted. That's a very big framework for asynchronous network 
programming; it's completely callback based.
For more info you should visit the Twisted Matrix website: http://
twistedmatrix.com/trac/ 
There also a good documentation, but it's a few embedded, so you need to 
looking for that with care:-)
Good 2008 and have fun!


-- 
"Le opinioni dei fanatici prescindono dai fatti"
python -c "print 'bG9ybWF5bmFAZ21haWwuY29t'.decode('base64')"
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Ping Implementation in Python

2007-12-20 Thread Lorenzo Mainardi
Nel mezzo del cammin di nostra vita, mi ritrovai con Mrown che diceva:

> Hi,
>   I was wondering if there was a ping implementation written in
> Python.  I'd rather using a Python module that implements ping in a
> platform/OS-independent way than rely on the underlying OS, especially
> as every OS has a different implementation.  Furthermore, if you're
> going to ping a large number of IPs, using a module would probably be a
> lot faster.  Any ideas if such a module exists?  Thanks.


Get Scapy, it's one of the best tool for this kind of problem, and it's 
Python based

-- 
"Le opinioni dei fanatici prescindono dai fatti"
python -c "print 'bG9ybWF5bmFAZ21haWwuY29t'.decode('base64')"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python on MIPS

2007-04-06 Thread Lorenzo Mainardi
Thomas Krüger ha scritto:
> Lorenzo Mainardi schrieb:
>> I bought a very small embedded card, with a MIPS processor, running
>> Linux. So, I would to use Python on that; I checked on python.org, but I
>> did'nt find any release for this architecture. Could you help me?
> 
> How about compiling it from source?
> 
> Thomas

I did'nt try...I will do that :-)
-- 
http://mail.python.org/mailman/listinfo/python-list


Python on MIPS

2007-04-06 Thread Lorenzo Mainardi
Hi everybody,
I bought a very small embedded card, with a MIPS processor, running
Linux. So, I would to use Python on that; I checked on python.org, but I
did'nt find any release for this architecture. Could you help me?
-- 
http://mail.python.org/mailman/listinfo/python-list