Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset
Comments Off

Python: Afficher le nom et les informations de la plateforme

 module
{filelink=16863}

import sys
 
print sys.platform,"=> ",
if sys.platform == "win32":
    import ntpath
    pathmodule = ntpath
elif sys.platform == "mac":
    import macpath
    pathmodule = macpath
else:
    import posixpath
    pathmodule = posixpath
 
print pathmodule

Livres Sur ce Sujet

----------------------------------------------------------------------------

Comments are closed.

Sex Cams Movable Theme