[IronPython] What is a good way to determine OS platform with IronPython?

Jeff Hardy jdhardy at gmail.com
Mon Jan 10 23:53:37 CET 2011

On Mon, Jan 10, 2011 at 3:37 PM, Douglas Blank <dblank at brynmawr.edu> wrote:
> Now that IronPython runs on other operating systems, what is the recommended way to determine the os when running IP?

`os.name` is probably what you want. There was some discussion on
python-dev about a module (or extension to sys?) that would have a lot
more information, but I can't remember what it was going to be called.

- Jeff

More information about the Ironpython-users mailing list