Closed l0ssl3ssn3ss closed 1 year ago
The first mistake I was doing was using my main account password, using an AppPassword solved part of the problem.
Making the variables as global variables seems to have also helped:
KEEP = gkeepapi.Keep()
SUCCESS = KEEP.login('REDACTED@gmail.com', 'AppPassword')
And updating my main()
accordingly:
if SUCCESS == True:
print('Successful Logon\nCOMPLETE - 60%\n\n')
else:
print('Terminating...')
raise SystemExit
Exception Raised
I have a short of 1000 notes from Huawei Cloud that I'm trying to upload to my Keep from my local machine.
I am on windows10 and using python 3.11.
I am having a problem with logging in. The above exception is being raised when ever I execute my script. Please don't laugh but here's my amature script: