from java.lang import System


-----Original Message-----
From: []
Sent: Thursday, August 08, 2002 17:13
Subject: [Jython-users] sys.platform problems

Hi everyone,

I have just finished a mjor project using Jython and have one last thing to fix. The program that I am using uses "sys.platform" to determine which operating system is being used by the user. In Python this usually returns "win32" for windows. Unfortunately on my machine it returns "java1.3.1_03". I was wondering how I can either set sys.platform to return win32, or what I could use as an alternative to discover the platform running on the users machine. Thanks in advance.

- Morgan