ANN: Win32 Screensaver that uses Python (extending/embedding Python/C)

chris liechti cliechti at nospam.mails.ch
Sat Jun 30 02:00:01 CEST 2001


i have done a screensaver for windows that executes a python script which 
then draws on the screen. Its easy to write your own screensavers (in 
python) and you don't even have to touch the windows SDK or a C compiler...

The drawing functions are limited, but should suffice for some nice 
screensavers. i've done it to gain some experiences with python and C 
extending and embedding - not to create an useful application but its fun 
playing around with it.

the sources show how python can be embedded. an extension is used to talk 
back from python to C - to call the native windows drawing functions.

you can download the executable with sources from:
http://www.geocities.com/chrisliechti/en/python/index.html

chris
-- 
import re
email = 'cliechti at nospam.mails.ch'
print re.sub('nospam\.','',email)



More information about the Python-list mailing list