← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #207316]: How to find out what OS I'm running on?

 

Question #207316 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/207316

Gorilla posted a new comment:
It turns out that os.name yields - java
os.getenv yields - Windows_NT
sys.platform yields - java1.6.0_32

Looks like I will have to pick one of the environment variables that has
the user path defined.  WIN7 has a path of C:\Users\[user].  WINXP has a
path of C:\Documents and Settings\[user].  (My target machines are only
WIN7 or WINXP)

Thanks for your help.

Gorilla

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.