MonkeeSage
9/22/2006 7:27:00 PM
Brad Tilley wrote:
> [stuff]
Yeah, works the other way too...
$ python
Python 2.5 (r25:51908, Sep 19 2006, 22:49:50)
[GCC 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> print os.sys.platform
linux2
>>> os.system('irb')
irb(main):001:0> RUBY_PLATFORM
i686-linux
irb(main):002:0> exit
0
Regards,
Jordan