Weblog Archives
You are currently browsing the archives for the Python tag.
Published on January 31st, 2007 by George Notaras - Comments : 2
One of the things in which I never reached a decent level of knowledge is IRC. I mean I know the basic stuff in order to connect to servers, join channels, send/receive files etc. What I know nothing of is actually IRC server or channel administration… I am not going to learn or write more [...]
Published on December 18th, 2006 by George Notaras - Comments : 4
Inspired by Aggelos greek to greeklish text converter implementation, I decided to write such a text converter in Python. It accepts text either from the stdin or by reading a file specified in the command line. It also auto-detects UTF-8 and ISO8859-7 encodings. Two sample text files are provided in the distribution for testing. Download: [...]
Published on December 3rd, 2006 by George Notaras - Comments : 0
pdf2email is a CUPS backend that uses GhostScript to print a document to PDF and sends the final file to the user that requested the print via email. This software is written in Python. I had written this backend a few months ago, it has worked fine for me, so I decided to release it. Your feedback is welcome.
Published on September 23rd, 2006 by George Notaras - Comments : 0
Sometimes, things are not that straightforward as one might think. Yesterday, I spent over two hours on the Epiphany Python Console checking almost all of the available functions in order to find a way to store the displayed page’s HTML data in a variable. Before quitting, I decided to get some help over at the [...]
Published on May 17th, 2006 by George Notaras - Comments : 0
This is a quick tip about how to open new tabs with Python code in Epiphany.
Published on May 17th, 2006 by George Notaras - Comments : 0
The availability of good and complete documentation for an API is one of the most important factors in order someone to be able to effectively use that API for application programming. Good API documentation saves time and effort. It provides all the needed information a programmer, either professional or amateur, would need in order to [...]
Published on May 16th, 2006 by George Notaras - Comments : 0
If you use cElementTree and try to create an XML file that uses some extra XML namespaces, you will encounter a wierd situation when the final file is written.
Published on May 16th, 2006 by George Notaras - Comments : 2
One of the features I’d like all browsers, that support tabbed-browsing, should include by default is to let the user save the current window’s tab layout (aka tab session) to a file and also provide the ability to load such a saved tab session. My main browser, Epiphany, does not have this functionality and I [...]
Published on May 11th, 2006 by George Notaras - Comments : 3
I’ve made some progress with the cElementTree Python module. After reading the available documentation and the RSS 2.0 specification, I was able to write a very simplistic RSS 2.0 feed generator in order to demonstrate the usage of this module. There is no such example in the documentation, so this might be useful to someone.
Published on May 7th, 2006 by George Notaras - Comments : 0
Blogs seem to be a great resource of very useful information. Today while searching for any pyGTK code examples on Technorati, I came across a very interesting Python script. Actually, this is not just “interesting“. Owen’s code is a great example of how easily a GNOME applet can be created using the GNOME bindings for [...]