[IronPython] How do you detect operating systems from within IronPython?

Jeff Hardy jdhardy at gmail.com
Mon Feb 21 19:19:20 CET 2011

On Mon, Feb 21, 2011 at 11:05 AM, Vernon Cole <vernondcole at gmail.com> wrote:
> How should I really be doing it?

os.name usually has the actual underlying OS, but depending on what
you need to do it may be better to have a block that is just for 'cli'
that calls into a .NET API, and let .NET/Mono smooth over the platform

- Jeff

More information about the Ironpython-users mailing list