[IronPython] determine if running under IP

Dave Fugate dfugate at microsoft.com
Wed May 21 01:21:44 CEST 2008


Easy=)  Check the value of sys.platform which will be "cli" under IronPython.

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Slide
Sent: Tuesday, May 20, 2008 4:20 PM
To: Discussion of IronPython
Subject: [IronPython] determine if running under IP

Is there a way in Python code to determine if you are running under
IronPython or C Python?

Thanks

--
slide-o-blog
http://slide-o-blog.blogspot.com/
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list