Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. import subprocess
  2. import sys
  3.  
  4. command = ['defaults', 'read', 'com.tryeffortless.Effortless', 'ListText']
  5. result = subprocess.run(command, stdout=subprocess.PIPE , stderr=subprocess.STDOUT).stdout.decode('unicode-escape')
  6.  
  7. if __name__ == '__main__':
  8. print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement