Created
February 16, 2017 06:15
-
-
Save sgykfjsm/999edc4a312983d1af0280a79a145519 to your computer and use it in GitHub Desktop.
Pythonの色々な情報を取得する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import platform | |
print 'platform.machine(): %s ' % (platform.machine(), ) | |
print 'platform.node(): %s ' % (platform.node(), ) | |
print 'platform.processor(): %s ' % (platform.processor(), ) | |
print 'platform.python_compiler(): %s ' % (platform.python_compiler(), ) | |
print 'platform.python_version(): %s ' % (platform.python_version(), ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment