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
| from winreg import ConnectRegistry, OpenKey, EnumValue, HKEY_CURRENT_USER | |
| TARGET_KEY = r'SOFTWARE\Google\Drive' | |
| def main(): | |
| with ConnectRegistry(None, HKEY_CURRENT_USER) as wr: | |
| GdriveKey = OpenKey(wr, TARGET_KEY) | |
| i = 0 | |
| while True: | |
| try: |