What are the possible return values from the following command?
import sys print sys.platform
I know there is a lot of possibilities, so I’m mainly interested in the ‘main’ ones (Windows, Linux, Mac OS)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Mac OS X (10.4, 10.5, 10.7, 10.8):
Linux (2.6 kernel):
Windows XP 32 bit:
Versions in brackets have been checked – other/newer versions are likely to be the same.