Sorry to harp on this again, but if I use java.lang.System.getPropery("os.name"), it will return
That's not cool.
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
At 02:27 PM 8/13/2009, william ratcliff wrote:
I have to go to the java side--thanks!
Btw--just a quick check, are all strings which come from java unicode?
On Thu, Aug 13, 2009 at 4:12 PM, Jeff Emanuel <email@example.com> wrote:
- java.lang.System.getProperty('os.name ')
- william ratcliff wrote:
- Another question:
- In Cpython, I usually use sys.platform to test whether I'm running on windows, linux, or macos. In jython, sys.platform returns the version of java that it is running under--is there an equivalent command to determine the operating system?