[Tutor] Regedit

David Rock david at graniteweb.com
Sat Oct 2 18:45:44 CEST 2004


* Ali Polatel <alipolatel at yahoo.com> [2004-10-02 02:22]:
> Virus???no that's not my aim...
> I just want to learn how other programmes do it...
> I mean for example when setupping a programme it asks you "Run on startup" etc.

Here are a couple pages with good examples of using the win32 extensions
that are available so that you can access the registry directly instead
of creating .reg files and trying to run them:

Simple example of using win32api and win32con modules:
http://www.pythonapocrypha.com/Chapter37/Chapter37.shtml

Couple decent cookbook examples of frontends for the api calls:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/163969
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/174627

Homepage for win32all:
http://www.python.org/windows/win32/

Recommended reading, "Python Programming on Win32": 
http://www.oreilly.com/catalog/pythonwin32/

-- 
David Rock
david at graniteweb.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20041002/197de3de/attachment.pgp


More information about the Tutor mailing list