2016-07-23 25 views
-6
import gspread 
gc = gspread.login(‘[email protected]’,’password’) 

はAttributeErrorのログイン 'は属性がありません。「モジュール」オブジェクトを私は知っているgsspreadloginメソッドを持っていないはAttributeError:「モジュール」オブジェクトが

+0

何をgspreadさ

import gspread gc = gspread.authorize(credentials) # check link below on how to obtain the credentials 

credentialsが非常によく、ここでgsspreadによって文書化され得る方法についての手順:あなたは、理想的にはこのような何かをするだろう

?そして、あなたはそれが 'ログイン'属性を持っていると思いますか?それが[this](https://github.com/burnash/gspread)の場合、それはありません。 –

+2

次回は[documentation](https://github.com/burnash/gspread)を見てください!! '' gspread'はobvioslyにログインメソッドがありません。あなたが探しているものは 'authorize()'メソッドです –

+0

でもPython 2.7を使用しています。 – Gizvo

答えて

関連する問題