Busy making things: tinycast, github, links, photos, @mc.

PyCon Day 3: Python for Series 60

Posted: March 27th, 2005 | Author: | Filed under: Mobile, Python | 23 Comments »

Python for Series 60 Presentation

Erik Smartt and Jukka Laurila gave an excellent, well attended presentation on Python for Series 60 on Friday morning. It’s a shame that they only had 30 minutes to present, as they could have easily talked for twice that or more on the subject and not run out of material. I headed down to the front row for a good view of it all, so I wasn’t able to take quite as extensive notes as I would have liked.

Erik started off with an overview of the Series 60 platform, something that he didn’t think he would have to do in a crowd like the the one at PyCon. While the number of Series 60 devices in the market vs. the total number of mobile devices isn’t very impressive, if you look at the smartphone segment, Series 60 dominates.

After the introduction, Jukka took over with some of the more technical bits. Python for Series 60 isPython 2.2.2 as a Symbian DLL and available in binary-only form (for now anyway) at Forum Nokia. It covers many of the basics that one would need, including sockets, urllib, threading, and an Application UI framework. (Also note that if you drop the Python 2.2.2 source distribution in <INSTALLDRIVE>/SYSTEM/LIBS directory, a lot of stuff “just works”).

Jukka then spoke about the porting difficulties that they ran in to because of the underlying Symbian architecture. Symbian C++ began before C++ itself supported things like exception handling, so they had to create their own way around it. Jukka then explained the realities of running out of memory on Series 60 and he also explained a little about ActiveObjects.

After the technical stuff came some demos! Because of the setup, they had to switch between laptop input and video overhead input (to see the phone), but the demos were still cool indeed. Jukka demonstrated the Bluetooth console so that he could pop up an interactive intepreter session on his Laptop (it’s a lot better than t9). After that he showed the requisite one-liner hello world app to pop up a native widget. From there he demonstrated some of the hardware interfaces that are (or will soon be) available. For example, in just a few lines in the console he was able to import the camera module, take a picture, saving the file, and then passing it to Content_handler to show the photo.

It also has a telephone. Jukka then typed import telephone and after another short line tried to dial a random phone number. He couldn’t actually dial because there was no signal in the Marvin center. For the final demo, Jukka showed the classic Snake game written in 99 lines of Python that utilize the as-yet unreleased 2d graphics package.

After the demos were over there were tons of questions, so many that the session actually ran over by a few minutes. First and foremost was the question of cross platform development. The guys explained that the emulator was only available for Windows but you could use the bluetooth console using Mac and Linux too. Full instructions on that are linked to on the Python for Series 60 Wiki. Also on everyone’s mind was “where’s the source?” Erik couldn’t give a timeline for that, noting that Nokia is a big company with a lot of lawyers, but it sounds like they are doing their best to move things forward.

I definitely think that the talk was a success. I really hope that the new modules demonstrated can make their way to the outside as soon as possible. Lots of games developers would likely jump on the 2d package, and give their first born for a crack at the PyOpenGL port demoed at ETech. I would personally love to see Jukka’s Snake make its way to the public under whatever license possible, because it’s addictive and would probably demonstrate the graphics platform quite well. I also think that it’s crucial to get these new bits of API functionality and other updates out to the developer community as quickly as possible.


23 Comments on “PyCon Day 3: Python for Series 60”

  1. 1 DAIVIK said at 9:45 am on September 24th, 2007:

    hjkgkytk

  2. 2 Kazeloez said at 2:40 am on March 2nd, 2008:

    Hi!iovg! http://fgacbvmq.com kcbrl yqfuj http://jbryizud.com qrmnk bqjfs

  3. 3 Kazelwwo said at 2:56 am on March 2nd, 2008:

    Hi! http://hfbnuxta.com ovcsa hrjqb http://vfgwbvdl.com vkfsq xlqpc

  4. 4 Kazellni said at 2:57 am on March 2nd, 2008:

    Hi! http://qhynhnik.com vtjju bdbhi http://jgcttoxl.com baluc vilux

  5. 5 Kylie Minogue m said at 6:58 pm on March 5th, 2008:

    Hi! http://amazing-mp3.com/artist290 Kylie Minogue mp3

  6. 6 Kazeloak said at 1:52 am on March 13th, 2008:

    Hi!ephx! http://ofmlypde.com vefyk terdh http://uqbhyazh.com zqqrf vhuuz

  7. 7 Kazelfdv said at 1:52 am on March 13th, 2008:

    Hi! cupes armfn chqst wiorb

  8. 8 Kazelykv said at 6:34 am on March 13th, 2008:

    Hi! qvlmt qyhzj yisqq xbprf

  9. 9 cheap propecia said at 11:56 pm on January 23rd, 2011:

    Also that we would do without your excellent phrase

  10. 10 fheifhei said at 12:00 pm on February 10th, 2011:

    After study a few the blog posts on your website now, and I enjoy the right path of blogging. I added it to my favorites web page list and will be checking back soon. Check out my site also and let me know what you think.

  11. 11 vyvoz stroitelnogo musora said at 12:44 pm on February 10th, 2011:

    vyvoz stroitelnogo musora spb…

    vyvoz musora…

  12. 12 Bobette Souvannavong said at 12:23 am on February 12th, 2011:

    Hmm it seems like your blog ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog writer but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d really appreciate it.

  13. 13 ArticleRanks said at 12:37 am on February 16th, 2011:

    First of all, allow my family appreciate a person’s command during this matter. Even though this is certainly brand new , nevertheless soon after registering your site, this intellect has exploded extensively. Allow all of us to take hold of one’s rss to help keep in touch with at all probable messages Sincere understand but will pass it on to help admirers and my individual are living members

  14. 14 studenten kreditkarte said at 1:43 am on February 16th, 2011:

    Sick! Just obtained a brand-new Pearl and I can now read your blog on my phone’s browser, it didn’t function on my previous 1.

  15. 15 max walker said at 2:11 am on February 16th, 2011:

    Thank you for another fantastic article. Where else could anyone get that kind of info in this kind of a perfect way of writing? I have a presentation subsequent week, and I’m to the look for this kind of details.

  16. 16 wedding venue said at 2:15 am on February 16th, 2011:

    Thank you for another wonderful write-up. Where else could anybody get that kind of information in such a ideal way of writing? I have a presentation next week, and I am to the look for such facts.

  17. 17 malware removal said at 4:32 am on February 16th, 2011:

    Dude, please tell me that youre heading to write more. I notice you havent written another blog for a while (Im just catching up myself). Your blog is just also important to become missed. Youve got so very much to say, these knowledge about this subject it would be a shame to see this weblog disappear. The internet needs you, man!

  18. 18 nyc moving company said at 4:45 am on February 16th, 2011:

    Nice to be going to your weblog again, it has been months for me. Well this write-up that i’ve been waited for so lengthy. I require this write-up to total my assignment within the school, and it has exact same subject with your write-up. Thanks, good share.

  19. 19 Clarice Bellisle said at 11:21 am on February 16th, 2011:

    This blog appears to get a large ammount of visitors. How do you get traffic to it? It offers a nice individual twist on things. I guess having something useful or substantial to give info on is the most important thing.

  20. 20 Markita Popiolek said at 12:44 pm on February 16th, 2011:

    Ct’s arduous to search out knowledgeable individuals about this subject, but you seem like you already know that which you are speaking about! Thanks

  21. 21 accident lawyers act said at 4:26 pm on February 16th, 2011:

    I admire the valuable info you provide in your content articles. I’ll bookmark your weblog and have my children test up here frequently. I am very positive they will discover lots of new things right here than anybody else!

  22. 22 web design said at 5:06 pm on February 16th, 2011:

    Dude, please tell me that youre going to write much more. I notice you havent written another blog for a while (Im just catching up myself). Your blog is just also important to become missed. Youve got so very much to say, such knowledge about this subject it would be a shame to see this blog disappear. The internet needs you, man!

  23. 23 great facebook marketing campaigns said at 7:32 pm on February 16th, 2011:

    Dude, please tell me that youre heading to create far more. I notice you havent written an additional blog for a while (Im just catching up myself). Your weblog is just too important to be missed. Youve received so significantly to say, these knowledge about this topic it would be a shame to see this weblog disappear. The internet needs you, man!