[TYPO3-doc] Python on MAC: How does it call the platform?
Steffen Gebert
steffen.gebert at typo3.org
Sun Sep 2 15:33:49 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Martin,
yes, it's darwin
Kind regards
Steffen
- --
Steffen Gebert
TYPO3 v4 Core Team Member
TYPO3 Server Administration Team Member
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
I work for TYPO3 solely in my spare time. If you think that
my work helps you running your business, you are invited to
send me a donation via PayPal to this email address. Thanks
Am 9/2/12 2:56 PM, schrieb Martin Bless:
>
> A question to those having Python on their Mac(book) or Mac in a
> VM:
>
> Q: What value do you get for 'sys.platform' [1]?
>
> To find out::
>
> $ python Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC
> 4.4.5] on linux2 Type "help", "copyright", "credits" or "license"
> for more information.
>>>> import sys sys.platform
> 'linux2'
>
>
> or::
>
> $ python -c "import sys; print sys.platform" linux2
>
>
> Is it 'darwin' as the Python docs [1] say? Or do we have
> variants?:
>
> =================== ============== System platform
> value =================== ============== Linux (2.x and 3.x)
> 'linux2' Windows 'win32' Windows/Cygwin
> 'cygwin' Mac OS X 'darwin' OS/2 'os2'
> OS/2 EMX 'os2emx' RiscOS 'riscos' AtheOS
> 'atheos' =================== ==============
>
>
> [1] http://docs.python.org/library/sys.html#sys.platform
>
> Martin
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQEcBAEBAgAGBQJQQ2A9AAoJEIskG/rSlyw4ZaYH/0kZXYbHiFYMS4EDKGYaQkrJ
vGalKvdUlbLmwfqzpViB5evvD16KGwy88iDwzaQJ29GS/SxJBgpO9U6c2X/zrgf7
LUF1KugmlJTNTWKgZiHFmMt/iLzRtXjlyCTNOFp6IFXT5Wc4DZ3CcdGfJT8o5NUx
DmK63V8FmlY/GxOeuP3YJ+sa+kyQBKBdTtRKMpIwqzaWPbxF7UBLwBJrB4mjKhlz
j3vujs0UFbC+GjmRsYSwxl2kxE9pkyAjSgWDeKS3k/lIq/iEyDdPmY565B4ekbaX
YrRdcL/e/3WhGGOq41s9rnoGuRCnDipD2lTR5Ut+1BJ6yKe+J5hv2463RXNsF9s=
=t2v/
-----END PGP SIGNATURE-----
More information about the TYPO3-project-documentation
mailing list