PyCon Day 3: Python for Series 60


Posted

in

,

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.

Comments

23 responses to “PyCon Day 3: Python for Series 60”

  1. DAIVIK Avatar
    DAIVIK

    hjkgkytk

  2. Kazeloez Avatar

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

  3. Kazeloak Avatar

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

  4. cheap propecia Avatar

    Also that we would do without your excellent phrase

  5. fheifhei Avatar

    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.

  6. vyvoz stroitelnogo musora spb…

    vyvoz musora…

  7. Bobette Souvannavong Avatar

    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.

  8. ArticleRanks Avatar

    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

  9. studenten kreditkarte Avatar

    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.

  10. max walker Avatar

    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.

  11. wedding venue Avatar

    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.

  12. malware removal Avatar

    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!

  13. nyc moving company Avatar

    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.

  14. Clarice Bellisle Avatar

    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.

  15. Markita Popiolek Avatar

    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

  16. accident lawyers act Avatar

    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!

  17. web design Avatar

    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!

  18. great facebook marketing campaigns Avatar

    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!