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

AttributeError的:「模塊」對象有沒有屬性「登錄」AttributeError的:「模塊」對象有沒有屬性「登錄」

+0

什麼是gspread?什麼讓你覺得它有一個'登錄'屬性?如果它是[this](https://github.com/burnash/gspread),它不會。 –

+2

下次正確查看[documentation](https://github.com/burnash/gspread)!!,'gspread'顯然沒有登錄方法,也許你正在尋找的是'authorize()'方法 –

+0

但我使用Python 2.7 – Gizvo

回答

相關問題