Advertisement
paulogp

Plataforma

Aug 7th, 2011
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # paulogp
  3. import sys
  4.  
  5. if sys.platform == "win32":
  6.     print "Windows"
  7. elif sys.platform == "linux-i386":
  8.     print "Linux/i386"
  9. elif sys.platform == "darwin":
  10.     print "Mac OS X"
  11. else:
  12.     print "Plataforma desconhecida"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement