En Mon, 02 Mar 2009 07:12:55 -0200, M Kumar <tomanis...@gmail.com> escribió:

Its just http, I am using pylons. Right now I am doing tht with extra
parameter. But even if I get to know about the platform of the client
machine, I need to use the other properties of the corresponding machine's os module. for example I need to use "os.path". So even if I know about the platform name how to use that information to get os module with the property
of tht particular platform.

The Windows version of os.path is ntpath; the Linux&Co version is posixpath. You may import any of them explicitely. For other values, see the os.py source. (I think this answers your question, but I'm not sure it's the answer to your problems)

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to