Yes, os._name - sorry about that!

On Thu, Aug 13, 2009 at 2:27 PM, william ratcliff <william.ratcliff@gmail.com> wrote:
Ahh,

I have to go to the java side--thanks!
Btw--just a quick check, are all strings which come from java unicode?


Thanks again,
William


On Thu, Aug 13, 2009 at 4:12 PM, Jeff Emanuel <jemanuel@frii.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?


Thanks,
William
------------------------------------------------------------------------


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
------------------------------------------------------------------------

_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users




--
Jim Baker
jbaker@zyasoft.com