Weblog Archives
You are currently browsing the archives for the Python tag.
Published on December 3rd, 2006 by George Notaras - Comments Off
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 Off
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 Off
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 Off
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 Off
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 Off
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 [...]
Published on May 6th, 2006 by George Notaras - Comments Off
While browsing the archives of Raphael Slinckx’ blog, among other very interesting things, I came across a post about a Python script of his, which uploads a text file on the on-line pastebin pastebin.ca. A neat script like this proves to be extremely useful sometimes.
Published on May 6th, 2006 by George Notaras - Comments Off
These are the articles that got me into network programming in Python: Socket Programming HOWTO by Gordon McMillan. Sockets programming in Python by M. Tim Jones.