By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,621 Members | 1,068 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,621 IT Pros & Developers. It's quick & easy.

Win32 or Unix check in python

P: n/a
how can you check in python at the beginning if you running the app in
WIN32 or UNIX.

please help

Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
GujuBoy wrote:
how can you check in python at the beginning if you running the app in
WIN32 or UNIX.


import sys
print sys.platform

--
Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
Some mistakes we must carry with us.
-- Speaker-to-Animals
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.