[IronPython] platform.system() == "cli"
Jeff Hardy
jdhardy at gmail.com
Fri Jan 9 01:12:41 CET 2009
On Thu, Jan 8, 2009 at 3:01 PM, Oren Held <oren at held.org.il> wrote:
> In all Unices, using platform.system() returned the OS name just fine. Is there
> a better way for getting the OS name on both CPython & IronPython?
os.name is probably what you're looking for, although I don't know how
it behaves on *nix (it return 'nt' on Windows).
- Jeff
More information about the Ironpython-users
mailing list