Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- comando = "systeminfo"
- tubo = os.popen(comando)
- datos = tubo.readlines()
- fichero = open("dat.txt" , "w")
- fichero.writelines(datos)
- fichero.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement