Yes.
As are mac and dos modules on those platforms.
"import os" is the recommended portable way if you want code
to be os independent. module os will actually be the appropriate
one. If you REQUIRE posix, then use "import posix" , which will
raise an error if it fails. ( Unfortunately, for historical
reasons, I don't think you can't reply on that meaning you
have the full posix module. The dosmodule is really the posixmodule
with most of the unix/posix specific functions commented out. )
See previous "newbie" post on how to use os & os.path portably.
- Steve Majewski (804-982-0831) <sdm7g@Virginia.EDU>
- UVA Department of Molecular Physiology and Biological Physics