Monu Agrawal wrote: > Hi I want to know whether the program is being run on windows or on > Xnix. Is there any variable or method which tells me that it's windows?
Will this help? >>> import sys >>> sys.platform 'win32' There is also the platform module, that can give you a lot more information about the your platform. Try help(platform). /MiO -- http://mail.python.org/mailman/listinfo/python-list