Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: When I print a key from dict it prints it but when I try to assign it to a variable I
Post: RE: When I print a key from dict it prints it but ...

Aaaand it turns out I am a stupid moron. It works, it just gets to the end of the data and gives an error as it is empty. I've managed to fix it by just adding a try - except statement. If someone is ...
stefanvelikov General Coding Help 3 2,307 Nov-27-2020, 01:29 PM
    Thread: When I print a key from dict it prints it but when I try to assign it to a variable I
Post: RE: When I print a key from dict it prints it but ...

Hi, Yes, on row 89 was my call of the function like this: 88. service = auth() 89. getMessages(service) It was saying row 49 because I had some commented lines where I tried different things and I ...
stefanvelikov General Coding Help 3 2,307 Nov-27-2020, 01:08 PM
    Thread: When I print a key from dict it prints it but when I try to assign it to a variable I
Post: When I print a key from dict it prints it but when...

Here is my code and expected output: from __future__ import print_function import pickle import os.path from googleapiclient.discovery import build from google_auth_oauthlib.f...
stefanvelikov General Coding Help 3 2,307 Nov-27-2020, 09:06 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020