I my environment:
$ python Python 2.7.14 (default, Oct 31 2017, 21:12:13) [GCC 6.4.0] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print sys.platform cygwin >>> exit()
And the url for sys_platform: https://docs.python.org/2/library/sys.html#sys.platform
I my environment:
$ python
Python 2.7.14 (default, Oct 31 2017, 21:12:13)
[GCC 6.4.0] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.platform
cygwin
>>> exit()
And the url for sys_platform: https:/ /docs.python. org/2/library/ sys.html# sys.platform