System Independent Wallpaper Changer

Peter Hansen peter at engcorp.com
Tue Jul 5 21:44:22 EDT 2005


Terrance N. Phillip wrote:
> This is what I've got... the code should work on a typical Windows 
> system, I think...

> if os.name in ['nt', 'win98', 'me']:
>     osWindows = True
> else:
>     osWindows = False
[snip]
>     if os_type = 'W':

I think you might have a problem with the above, where it seems you 
changed from one approach to another part way through solving the 
problem... should throw a NameError pretty quick when you run it though.

-Peter



More information about the Python-list mailing list