Last active
August 14, 2019 07:00
-
-
Save pathcl/eddcef44a1091096dd51a6bd3a002d7e to your computer and use it in GitHub Desktop.
test.py
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
import os | |
def main(): | |
print("Os: {}".format(os.uname().version)) | |
print("Hostname: {}".format(os.uname().nodename)) | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment