plataform dependent code

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Fri Nov 21 06:04:25 EST 2003


Zunbeltz Izaola:
>I am using wxPython and i want to have some code plataform dependent.
>Is it possible?

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

>I can't find any information about this in the net.

You've got to be kidding.

-- 
René Pijlman




More information about the Python-list mailing list