A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/355479.html below:

plateform info.

plateform info. plateform info.Mikael Olofsson mikael at isy.liu.se
Tue Sep 20 04:30:12 EDT 2005
Monu Agrawal wrote:
> Hi I want to know whether the program is being run on windows or on
> Xnix. Is there any variable or method which tells me that it's windows?

Will this help?

 >>> import sys
 >>> sys.platform
'win32'

There is also the platform module, that can give you a lot more 
information about the your platform. Try help(platform).

/MiO

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4