PyPad is a Python interpreter for iOS. This sounds incredibly exciting, right – finally I can do proper development and run Python programs on iOS! Unfortunately, that’s not really the case (mostly due to Apple’s restrictions). PyPad lets you create multiple modules and execute each of them. However, only a subset of the standard library [...]
Posts Tagged ‘Python’
13 Jan
Trac to iCal
One project I work on uses Trac and has a custom “due date” field (it doesn’t really have milestones – updates are more granular). While this is useful, one problem is that I don’t check this Trac instance every day, and so sometimes I’ve missed deadlines because I haven’t noticed that they are due. However, [...]
9 Aug
D520 Week Three – 2010
Last year Chapter Four of IronPython in Action was covered over two weeks (the lab is also a two-part exercise), and I felt that worked fairly well, so kept the same plan for this year, although the exact parts that were covered each week changed. As usual, the students received notes [PDF], and a lab [...]
9 Aug
D520 Week Two – 2010
No radical changes from either last year’s week two or last week. In a way, this is the real first week – in the previous week we learn about the course and about what IronPython is (and remember how to program in Python), but we don’t do much more than that. In the second week, [...]
26 Jul
What happened to the 2009 IPy Notes?
Around this time last year, I started posting weekly reports on the IronPython classes I was teaching at Northtec, including copies of the material that I was giving the students. These stopped abruptly around the middle of the course. The course did complete (and was fairly successful – I think the change to IronPython was [...]
21 Sep
More notes coming soon
I am still putting together the weekly D520 notes. However, the last couple of weeks have been a bit busy and so they’re waiting to be cleaned up and have links added. The intra-semester break starts next week so I’ll catch up then.
7 Sep
D520 – Week Six
Chapter 6 of IronPython in Action covers “properties, dialogs, and Visual Studio”. This seemed an obvious place to insert the material on user-interface design that is normally covered in the course, and to look a bit more deeply than the textbook does at Visual Studio itself (and the Windows Forms controls and their properties). I [...]
30 Aug
Mailbox flattening messages
The mailbox.py code does this to dump a message (e.g. when adding to a Maildir file): def _dump_message(self, message, target, mangle_from_=False): # Most files are opened in binary mode to allow predictable seeking. # To get native line endings on disk, the user-friendly \n line endings # used in strings and by email.Message are translated [...]
24 Aug
D520 – Week Five
Chapter 5 of IronPython in Action deals with XML, although it starts out covering some of the more advanced things you can do with functions. I considered skipping this chapter (the function material is perhaps a bit advanced, and covering XML isn’t a necessity), but decided that it was worth learning about XML in .NET [...]
15 Aug
D520 – Week Four
This week continued from the previous one, covering Chapter 4 of IronPython in Action. That meant no new notes, and no new lab exercise. We basically did two things: worked through the MultiDoc example in Chapter 4, and worked on implementing the Airline lab designed in the previous week. The first recommended reading for the [...]


Recent Comments