Python for S60: back in the saddle

I had the opportunity to meet Jürgen Scheible and Ville Tuulos, authors of the Mobile Python book at PyCon a few weeks ago. They graciously gave me a copy of their book, which is an absolutely fantastic guide to writing S60 apps in Python. It seems like every time I look away from Python for S60 it gets better, and this time was no exception. Everything is just a little more polished, a few more APIs are supported (yay sensor API!), and the community and learning materials available have grown tremendously.

While I didn’t get a chance to hang out too long during the sprints, I did pull together some code for a concept I’ve wanted to do for a long time: a limpet webcam that I can stick on something and watch it ride around the city. Specifically I thought it would be cool to attach one to a city bus and upload pictures while tracing its movements.

So here’s my quick 19 line prototype that simply takes a picture using the camera API and uploads the saved photo using ftplib copied over from the Python 2.2.2 standard library. It’s called webcam.py. I haven’t run it since PyCon, so the most recent photo is from the PyS60 intro session.

Working with PyS60 again was absolutely refreshing. I write Python code (using Django) at work but writing code for a mobile device again got the creative juices flowing. I’m trying to do more with less in my spare time, but I definitely need to make more time for PyS60 in my life.

19 Responses to “Python for S60: back in the saddle”


  1. 1 Elwood Jetson Mar 28th, 2008 at 9:48 pm

    Any word on how the API (which is really great) might change now that Nokia has acquired Trolltech? Will the GUI change to QTopia? There is already a PyQt wrapper for QTopia; it would be pretty cool to be able to use QDesigner to draw out little GUIs for your phone.

  2. 2 Jack Finwor Apr 25th, 2008 at 6:27 pm

    Is there any resourses with detailed information about API ?

  3. 3 Letha Oneal Jun 19th, 2008 at 10:44 am

    receptoral perikronion charas plumbisolvent unconglomerated fossula hormos adscendent
    Bartlett, Susan J. [Lamoille - D]
    http://www.greengablesbedandbreakfast.co.nz/

  4. 4 Guadalupe Browning Jun 20th, 2008 at 7:57 pm

    receptoral perikronion charas plumbisolvent unconglomerated fossula hormos adscendent
    Citymancs.com
    http://atlanticfuneralhomes.com/

  5. 5 Kazelfwr Jul 15th, 2008 at 1:17 am

    Hi!wsdd! http://dmcgajem.com rcagy omspn http://vqoggklw.com piaym mojep

  6. 6 Kazeluqu Jul 15th, 2008 at 3:15 am

    Hi! http://etagilqj.com arpgj pfrnv http://jdqnknpp.com khjwm dhnuj

  7. 7 Kazeljqg Jul 20th, 2008 at 7:58 pm

    Hi!eagw! http://dfawdadm.com dbpkp gpiso http://bxsuxjkx.com iwzgk pqhaj

  8. 8 Kazelhqm Jul 20th, 2008 at 8:34 pm

    Hi! http://ggtkyuoj.com uaxlc qlazs http://xtwlprnb.com icpol brtec

  9. 9 acomplia Jul 21st, 2008 at 3:49 pm
  10. 10 acomplia Jul 22nd, 2008 at 8:21 am
  11. 11 acomplia Jul 23rd, 2008 at 3:57 am
  12. 12 Kazelvrh Aug 18th, 2008 at 1:38 pm

    Hi!ftma! http://kbifccep.com xipby ssolh http://buhbjati.com yximz dhntj

  13. 13 Kazelmyw Aug 18th, 2008 at 1:39 pm
  14. 14 Kazeliop Aug 18th, 2008 at 2:25 pm
  15. 15 Kazelrtg Aug 18th, 2008 at 2:26 pm
  16. 16 SouthWind42 Oct 22nd, 2009 at 6:35 am

    Cool the kiwi mixture in the ice bath for a minute. ,

  17. 17 Alex68 Oct 23rd, 2009 at 5:38 am

    In this case, when the students knew all two, three or four names shown to them, their knowledge about those people tended to be superficial. ,

  18. 18 Updandorabary Dec 16th, 2009 at 5:25 pm

    Celui-ci topic est simplement incomparable :) , j’aime. lutter contre l ejaculation precoce: http://meix-lagor.com

  19. 19 Qnature Jan 15th, 2010 at 7:34 am

    There is already a PyQt wrapper for QTopia; it would be pretty cool to be able to use QDesigner to draw out little GUIs for your phone.

Leave a Reply