Created
November 2, 2020 13:10
-
-
Save askinss/15448947333337c200bdfcef6f4c26b5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 platform | |
import os | |
os_name = OS.name | |
plat_name = platform.system() | |
plat_release = platform.release() | |
filedetails = open("devicedetails.txt", "w+") | |
fileD#tails.write("OS is %s\n Platform Name is %s\n Platform Release %s\n" % (os_name, plat_name, plat_release)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment