Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: #!/usr/bin/python3 import os, glob, time, gspread, sys, datetime #Google account details email = 'foo.bar@gmail.com' password = 'Foo_Bars_Password' spreadsheet = 'Temperature_log' #the name of the spreadsheet already created #attempt to log in to your google account try: gc = gspread.login(email,password) except: print('fail') sys.exit() #open the spreadsheet worksheet = gc Source: http://pastebin.com/raw.php?i=nprCYzvS
↧