plataform dependent code

Zunbeltz Izaola zunbeltz at wm.lc.ehu.es.XXX
Fri Nov 21 12:20:13 CET 2003


Rene Pijlman <reply.in.the.newsgroup at my.address.is.invalid> writes:


> import sys
> if sys.platform == 'win32':
>     pass
> elif sys.platform == 'linux2':
>     pass

Thanks. (so odbious)
> 
> >I can't find any information about this in the net.
> 
> You've got to be kidding.
> 
no I've googled (is it a verb? :) platform dependent python in (alson
in complang.python ) and i haven't been pointed to the library
referend.

I didn't search in the reference :( ,next time i'll not forgeto to
search there

Zunbeltz

> -- 
> René Pijlman

-- 
Remove XXX from email: zunbeltz at wm.lc.ehu.esXXX




More information about the Python-list mailing list