[ Home | Feed | Twitter | Vector Art | Ascii Art | Tutorials ]
We had about 12 members this time. And I hope people got a good opportunity to discuss, share and learn Python.
Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: chennaipy, python
We had a great monthly meet this time. There were around 11 participants.
Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: chennaipy, python
I did a lightning talk on Protothreads at the ChennaiPy user group meeting last week. This post contains the code examples demonstrated during the talk.
The code was written to show how Protothreads work, but it is not the best way to implement Protothreads. For one, the examples use 100% of the CPU, because the scheduler does not block. For a more complete implementation, check the source code of the Kiwi project.
BTW, the term Protothreads comes from a co-operative multi-threading implementation in C by Adam Dunkels.
Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: python
The wave Python module can be used to read and write .WAV files. Unfortunately, the manual is not very clear. Here is a short tutorial on how to use the wave module.
Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: python
This tutorial shows how to create a very simple OpenERP module. A module to add Indian Rupees to the currency list will be taken as an example.
Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: python
There are several tools that convert short text documents with wiki-like markup to HTML, PDF and other document formats. One such tool called AsciiDoc has been my favourite for a long time. PyBlosxom has plugins for light-weight markup languages like reStructured Text and Textile, but not for AsciiDoc. Now that I have chosen PyBlosxom as my blogging tool, I thought it might be a nice to add AsciiDoc support to PyBlosxom.
It turned out that writing a plugin for AsciiDoc is not that hard after all, thanks to the asciidocapi introduced in AsciiDoc 8.4.1. Here is a minimal AsciiDoc plugin.
Permalink | Add Comment | Share: Twitter, Facebook, Buzz, ... | Tags: blosxom, python