Friday, October 28, 2005

Nice image search!

Now this is how image searching is meant to be: Flickr Related Tag Browser.

This is one of the first pages i see where flash is actually succesfully implemented to improve usability, a bit like implementing a "new" user interface widget.

Great job!

Friday, October 21, 2005

unicode horror

Why don't we all simply use unicode, all the time?

Well, the answer to that question is partly in this document - as well as how to work with unicode in python. .

Read Unicode howto

excel data xtract

In case i hadn't noticed yet: xlrd, marvelous tiny python-only package for reading excel files.

From it's PyPi page:
Extract data from new and old Excel spreadsheets on any platform. Pure Python code. Strong support for Excel dates. Unicode-aware.;Any platform -- don't need Windows

From it's homepage:

Purpose: Provide a library for developers to use to extract data from Microsoft Excel (tm)
spreadsheet files. It is not an end-user tool.

Platform: Any. You don't need to be on Windows. If you are, you can avoid hassles with approaches like COM, ODBC, save-as-CSV, …

Python requirements: Works with Python 2.2 or later. There are no dependencies on modules or packages outside the standard Python distribution.

Versions of Excel supported: 2004, 2002, XP, 2000, 97, 95, 5.0, 4.0, 3.0.


  • Support for handling dates, and documentation of Excel date problems and how to avoid them.
  • Unicode aware; correctly handles "compressed" Unicode in modern files; decodes legacy charsets in older files (if Python has the codec).
  • Extracts all data (including Booleans and error-values)

Tuesday, October 18, 2005

date's again

I keep having problems with this stuff, so here, once again:

import datetime

That ought to fix some stuff! :D

Monday, October 17, 2005

Pwyky (A Python Wiki)

Oooww... love this!!

It's a cgi-binable python source file 33.5 kB, and it's a full blown wiki - with features i haven't even seen with others. .

See for more!! - thanks Sean B. Palmer!!

Sunday, October 16, 2005

GDS and python

Google Desktop Search mixed with a bit of python: Thanx Hernan Foffani!

Guids - again

# You can create a GUID in python interpreter doing:
# >>> import pythoncom; pythoncom.CreateGuid()

That simple? :D

Monday, October 10, 2005

Why didn't i know that?

Untill now. .

Thanks o great community for the Vim Faq, entry 32.1 :D :

32.1. I am running Vim in a xterm. When I press the CTRL-S key, Vim freezes. What should I do now?

Many terminal emulators and real terminal drivers use the CTRL-S key to stop the data from arriving so that you can stop a fast scrolling display to look at it (also allowed older terminals to slow down the computer so that it did not get buffer overflows). You can start the output again by pressing the CTRL-Q key.

When you press the CTRL-S key, the terminal driver will stop sending the output data. As a result of this, it will look like Vim is hung. If you press the CTRL-Q key, then everything will be back to normal.

You can turn off the terminal driver flow control using the 'stty' command:

    $ stty -ixon -ixoff

Meld: winmerge on non-ms!

From the Meld homepage:
Meld is a visual diff and merge tool. It integrates especially well with CVS. The diff viewer lets you edit files in place (diffs update dynamically), and a middle column shows detailed changes and allows merges. The margins show location of changes for easy navigation, and it also features a tabbed interface that allows you to open many diffs at once. Look at the screenshots page for more detailed features.

Another alternative, would be to use a K application: KDiff3

Monday, October 03, 2005

Filename Completion

For Windows 2000 and higher..

Check what google says: Search for CompletionChar