Monday, August 30, 2004

PyWebMail - WebMail client library tools and POP3 gateway

PyWebMail - WebMail client library tools and POP3 gateway: "WebMail client library tools and POP3 gateway

Here is a Python library and collection of tools for working with WebMail servers like with mail server that uses other more machine-parsable protocols (like POP3 and IMAP). This library enables you to work with WebMail server like with POP3 or IMAP server"

Python Run Time Monitor Module

PyMonitor module is used to add support for enable runtime monitoring of an Python application.

After creating an instance of the MonitorServer and starting the MonitorServer thread it publish an XML-RPC interface that provides methods for listing all current availible class instances the monitored Python instance has allocated.
For a specific class instance the MonitorServer can provide information about all it's attributes and all class attributes for the given instance.

PyMonitor is using the gc (garbage collector) module for retriving all information.

The package also includes a simple GUI client also written in Python and wxPython.

This package were developed on my spare time for making "debuging" easier when developing a large control system written complete in Python.
It is now used for all products the company I'm working for for detection of leaking instances and finding dead locks and just for see how the system is doing when we run large tests.

JSI Tip 1706. Why do I have to type filename.bat, filename doesn't work?

JSI Tip 1706. Why do I have to type filename.bat, filename doesn't work?: "Why do I have to type filename.bat, filename doesn't work?

Chances are that the PATHEXT environment variable is damaged.

Use Control Panel / System / Environment and select PATHEXT in the System Variables box. This will place PATHEXT in the Variable text box and it's contents in the Value text box. Edit it. The default settings are:


If you installed the Windows Scripting Host:


You can find this in the registry at:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PATHEXT

PATHEXT is a type REG_SZ (string) variable name. "

Uiteraard ook goed te gebruiken voor "set pathext=%pathext%;.py;.pyw" :))

Wednesday, August 25, 2004


Overview: "imgSeekLite is part of the imgSeek project. The final goal is a stripped down, portable and optimized version of imgSeek."

And there's more where this came from!!

Using Windows Installer

Using Windows Installer: "Python 2.4 is distributed as a Microsoft Installer (MSI) file on Windows. Typically, packages are installed by double-clicking them in the file explorer. However, with the msiexec.exe command line utility, additional features are available, like non-interactive installation and administrative installation."

Freeware and Mirror Downloads

Freeware and Mirror Downloads: "*GNU UnRTF Utility for Windows - Our own win32 binary version (with our patches) of Zach Smith's RTF to any (like HTML) document convertion utility. His original version can be found here. Zach was also the author of rtf2htm, the predecessor of UnRTF. More info on GNU UnRTF is located here."

Tuesday, August 24, 2004


ConceptNet: "ConceptNet is a freely available commonsense knowledgebase and natural-language-processing toolkit which supports many practical textual-reasoning tasks over real-world documents right out-of-the-box (without additional statistical training) including"

Thursday, August 05, 2004

ITD Automatisering

ITD AutomatiseringHandige tools verzameld door mensen die weten waar ze mee bezig denken te zijn.

Erg handig als je eens bij iemand thuis zit, die 'gewoon' last van z'n computer heeft. .

Wednesday, August 04, 2004

Symbolic links udner W2K(NFS)

Junction 1.02 Create NTFS directory junctions
Yet another great tool offered by SysInternals. ...
I don't know how they do it, but they just keep on doing it. .

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - Miscellaneous Tools for Windows

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - Miscellaneous Tools for Windows: "Win2K's version of NTFS supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer. For example, if the directory D:\SYMLINK specified C:\WINNT\SYSTEM32 as its target, then an application accessing D:\SYMLINK\DRIVERS would in reality be accessing C:\WINNT\SYSTEM32\DRIVERS. Directory symbolic links are known as NTFS junctions in Win2K. Unfortunately, Win2K comes with no tools for creating junctions - you have to purchase the Win2K Resource Kit, which comes the linkd program for creating junctions. I therefore decided to write my own junction-creating tool: Junction. Junction not only allows you to create NTFS junctions, it allows you to see if files or directories are actually reparse points. Reparse points are the mechanism on which NTFS junctions are based, and they are used by Win2K's Remote Storage Service (RSS), as well as volume mount points. "

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - Miscellaneous Tools for Windows

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - Miscellaneous Tools for Windows: "Windows NT/2K provides Registry settings that can be set so that a user is automatically logged in the next time the system would otherwise put up the logon dialog box. However, the Registry values are hidden very deep, and are a pain to configure. This program, Autologon, will do the Registry configuration for you, and allow you to enable and disable auto-logon when you want. "

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - Autoruns

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - Autoruns: "This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor (A starting list of auto-run locations was obtained from David Solomon's 'Windows Internals' seminar), shows you what programs are configured to run during system bootup or login, and shows you the entries in the order Windows processes them. These programs include ones in your startup folder, Run, RunOnce, and other Registry keys. A 'show non-Microsoft only' option helps you to zoom in on third-party auto-starting images that have been added to your system. You'll probably be surprised at how many executables are launched automatically!"

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - PageDefrag

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - PageDefrag: "One of the limitations of the Windows NT/2000 defragmentation interface is that it is not possible to defragment files that are open for exclusive access. Thus, standard defragmentation programs can neither show you how fragmented your paging files or Registry hives are, nor defragment them. Paging and Registry file fragmentation can be one of the leading causes of performance degradation related to file fragmentation in a system. "

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - Process Explorer

Sysinternals Freeware - Utilities for Windows NT and Windows 2000 - Process Explorer: "Ever wondered which program has a particular file or directory open? Now you can find out. Process Explorer shows you information about which handles and DLLs processes have opened or loaded.

The Process Explorer display consists of two sub-windows. The top window always shows a list of the currently active processes, including the names of their owning accounts, whereas the information displayed in the bottom window depends on the mode that Process Explorer is in: if it is in handle mode you�ll see the handles that the process selected in the top window has opened; if Process Explorer is in DLL mode you�ll see the DLLs and memory-mapped files that the process has loaded. Process Explorer also has a powerful search capability that will quickly show you which processes have particular handles opened or DLLs loaded. "

Tuesday, August 03, 2004

ASPN : Python Cookbook : curry -- associating parameters with a function

ASPN : Python Cookbook : curry -- associating parameters with a function: "Title: curry -- associating parameters with a function
Submitter: Scott David Daniels

Last Updated: 2001/04/18

Version no: 1.2


In functional programming, currying is a way to bind arguments with
a function and wait for the rest of the arguments to show up later.
You 'curry in' the first few parameters to a function, giving
you a function that takes subsequent parameters as input and
calls the original with all of those parameters. This recipe uses
a class instance to hold the parameters before their first use.
For example:

double = curry(operator.mul, 2)

triple = curry(operator.mul, 3)

Source: Text Source"

co_pickle , a module to serialize code objects

Title: co_pickle , a module to serialize code objects
Submitter: Andres Tremols (other recipes) Last Updated: 2003/07/27 Version no: 1.0
Category: Shortcuts
Description: Compiles a string of python code and returns a printable representation of the byte codes, the resulting string can then be restored back to a code object.
Source: Text Source
I found several posts in the newsgroups complaining of the inability of the pickle modules to achieve this, the key is to store the code object properties in a tuple. Known Issues: The pickle module is infamous for its speed(or lack of), so its recommended you replace pickle with cpickle, you may also want to add some error checking. Finally,Dealing with code objects is somewhat a esoteric hack so care must be taken.

Global Signal Dispatching

Title: Global Signal Dispatching
Submitter: Patrick O'Brien (other recipes)
Last Updated: 2001/12/11
Version no: 1.3

This module,, provides global signal dispatching services suitable for a wide variety of purposes, similar to Model-View-Controller or Model-View-Presenter patterns. This particular implementation allows a looser coupling than most Observer patterns. It also does transparent cleanup through the use of weak references and weak reference callbacks. This version defaults to using weak references, but provides an option to not use weak references for those cases where weak references are problematic (lambdas and such).

Source: Text Source

ASPN : Python Cookbook : Null Object Design Pattern

ASPN : Python Cookbook : Null Object Design Pattern: "nothing but occupy memory space "

Dit is een handige voor het schrijven van code, als je het een en ander aan het opbouwen bent. Hiermee kun je classes bouwen die geen functies of wat dan ook ebben, maar die ook geen fouten genereerd als je deze wel aanspreekt! :0)

PythonPatterns - ThinkiThinki

PythonPatterns - ThinkiThinki: "Here you can find pattern implementations in python: "

Resources For Web Design

Resources For Web Design: "Resources For Web Design"

CherryPy : A tasty toolkit for pythonic web development

CherryPy : A tasty toolkit for pythonic web development: "CherryPy is a Python based web development toolkit. It provides all the features of an enterprise-class application server while remaining light, fast and easy to learn.

CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program. This usually results in smaller source code developed in less time.

It runs on most platforms (everywhere Python runs) and it is available under the GPL license.

CherryPy is now nearly two years old and it is has proven very fast and stable. It is being used in production by many sites, from the simplest ones to the most demanding ones.

Oh, and most importantly: CherryPy is fun to work with :-)"

Monday, August 02, 2004

TracInstall - The Trac Project - Trac

The Trac Project: "Trac Installation Guide
The Trac web-based project management tool is implemented as a server side cgi-program. Trac is written in the Python programming language and uses SQLite as an embedded database. For HTML rendering, Trac uses the Clearsilver template system. "

Infogreater - Trac

Infogreater - Trac: "Infogreater is pseudo-mindmapping software. Basically, it is a tree of simple, collapsible text nodes that is easily modifiable so you can quickly arrange relationships between nodes. It is commonly used for things like task and knowledge management. However, Infogreater's as yet unrealized reason for existence is to have nodes that can do more than just contain simple text; eventually Infogreater will be able to interact with your file system, your bug tracker, your source code, your RSS feeds, and your toaster. It does not yet come with a sandwich. "

Infogreater is mostly influenced by FreeMind, a Java application. Infogreater requires Twisted, Zope Interface, PyGTK2, and Python2.3, most of which are more or less easy to install on a Debian system. This is, indeed, a large set of non-standard dependencies. If anyone is willing to make packages that make Infogreater easier to install, help will certainly be appreciated. A Windows package including all dependencies is currently in development and will be released soon.

Python AI blog of open-source artificial intelligence for robots

Python AI blog of open-source artificial intelligence for robots: "This weblog invites Python programmers to implement the main Alife Mind loop of the simplest artificial intelligence.

Please put the resulting free AI source code on the Web to inspire other coders to flesh out the core of the AI with additional mind-modules.

There is no need to standardize or homogenize the evolution of the AI Minds in Python or any other language. Let there be a wide diversity and diaspora of the evolving Minds in a classic scenario of the survival of the fittest."

DHTML: Draw Line, Ellipse, Oval, Circle, Polyline, Polygon, Triangle with JavaScript

DHTML: Draw Line, Ellipse, Oval, Circle, Polyline, Polygon, Triangle with JavaScript: "DHTML, JavaScript
Draw Line, Circle, Ellipse (Oval), Polyline, Polygon, Rectangle.
High Performance JavaScript VectorGraphics Library.
By Walter Zorn"

Open Source Applications Foundation

Open Source Applications Foundation: "Our product (code-named 'Chandler' after the great detective novelist Raymond Chandler,) is a Personal Information Manager (PIM) intended for use in everyday information and communication tasks, such as composing and reading email, managing an appointment calendar and keeping a contact list. Because of the ease with which Chandler users can share information with others, Chandler might be called the first Interpersonal Information Manager. (The term PIM was first used in conjunction with the product Lotus Agenda in the 1980's. Chandler is the spiritual descendant of Agenda (and has a common designer in Mitch Kapor.)" Project Info - pyXLWriter Project Info - pyXLWriter: "pyXLWriter is a Python library for generating Excel compatible spreadsheets. It's a port of John McNamara's Perl Spreadsheet::WriteExcel module (see to Python. Requires Python 2.2+."

Mozdex open search engine

GoboLinux - the alternative Linux distribution

GoboLinux - the alternative Linux distribution: "GoboLinux is an alternative Linux distribution which redefines the entire filesystem hierarchy.
In GoboLinux you don't need a package manager because the filesystem is the package manager: each program resides in its own directory, such as /Programs/Xorg/6.7.0/ and /Programs/KDE/3.2.2. Like it? Read more... "

IronPython - A fast Python implementation for .NET and Mono

IronPython - A fast Python implementation for .NET and Mono: "IronPython is a new Python implementation targeting the .NET and Mono platforms. It is..."