Search:
Login
Preferences
About Trac
Forgot your password?
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
Back to Ticket #1504
Ticket #1504
: appdatareg.py
File appdatareg.py,
232 bytes
(added by
mindthemonkey
,
14 years ago
)
Line
1
import
_winreg
2
hkey
=
_winreg
.
OpenKey
(
_winreg
.
HKEY_CURRENT_USER
,
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Explorer
\\
Shell Folders"
)
3
appdatapath
=
_winreg
.
QueryValueEx
(
hkey
,
"AppData"
)
4
_winreg
.
CloseKey
(
hkey
)
5
print
(
appdatapath
)
Download in other formats:
Original Format