Silicaly

Untitled

Feb 26th, 2017
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import _winreg
  2. qcma = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER,"Software\codestation\qcma")
  3. path = _winreg.QueryValueEx(qcma, "appsPath")
  4. print "CMA Dir: " + path[0]
  5. text_file = open("cmadir.txt", "w+")
  6. text_file.write(path[0])
  7. text_file.close()
  8.  
  9.  
  10.  
  11. save as test.py >_<
Advertisement
Add Comment
Please, Sign In to add comment