Skip to content

Instantly share code, notes, and snippets.

@pathcl
Last active August 14, 2019 07:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pathcl/eddcef44a1091096dd51a6bd3a002d7e to your computer and use it in GitHub Desktop.
Save pathcl/eddcef44a1091096dd51a6bd3a002d7e to your computer and use it in GitHub Desktop.
test.py
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