[Twisted-Python] R: Twisted Python on Nokia E71x (Running the phone Python Interpreter)

Werner Thie wthie at thiengineering.ch
Fri Mar 5 04:46:40 EST 2010


I mostly diddled with the cam and automated uploading of pictures with 
simple JSON encoding over WLAN, and as I said, twisted is running with a 
few patches on the E61i..

Using putools


helped a lot.

Please find attached a tiny example with a very primitive server and a 
client counterpart using the standard socket API in python on the E61i. 
Although the pictures are lousy (the cam looses the white balance when 
the picture is taken) this code ran for days with no problem. So 'not 
ready for production' seems to me a bit too harsh as a judgment.


lormayna at libero.it wrote:
>> Date: Thu, 4 Mar 2010 15:57:43 -0600
>> From: Prince Riley <wmarketing3 at gmail.com>
>> Subject: [Twisted-Python] Twisted Python on Nokia E71x (Running the
>> 	phone	Python Interpreter)
>> To: twisted-python at twistedmatrix.com
>> Message-ID:
>> 	<fa04eb751003041357o7ca889a9uc3985667c34731b0 at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>> Has anyone experimented with twisted-python on the Nokia E71x or E72
>> smartphones?
>> Prince Riley
> Hi,
> I had tried to use Python for S60 (not Twisted, but standard socket module) 
> writing a NNTP client, but I found many problem specially about networking. 
> There is no high-layer abstraction layer for networking, so you have to 
> implement all the logic from low level.
> I tried to use select (that may be useful for doing asynchronous networking 
> apps), but is not working correctly on s60 phones. There is no porting for 
> Twisted.
> My experience is that PyS60 is not mature for a production environment.
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jsonphotoclient.py
Type: application/x-python
Size: 1830 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20100305/495ecfc4/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: photoserver.py
Type: application/x-python
Size: 1053 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20100305/495ecfc4/attachment-0001.bin 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: photoserver.tac
Url: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100305/495ecfc4/attachment.txt 

More information about the Twisted-Python mailing list