猿问
怎么才能知道python中方法的用法
看教程不理解shift这个方法的作用和用法
就自己在ipython上试着help,没有成功
哪位前辈知道如何直接在ipython中查找这种方法的用法?
无无法师
浏览 1938
回答 0
0回答
狂飙的蜗牛_1
shift不是全局方法,所以直接help(shift)会报错,你需要将方法完整的调用传进去比如想知道append的用法就要这样b=[]help(b.append) #正确help(append) #会报错
1
0
0
慕瓜9220888
ZMRGOEAAQOFTCHQZSVLYFAISBKDDUTOPZGWZQUIQLUKTNKRQVDMSVOGGSTSUKXQVMBZXUJSPAESCLUKTGBIAFONXQYAKAPXHJPPCAYNPOOUITAFUSLEAAPGUTCCSROPWLZYNNQGSGFWBUNDNESQVNPOEKOSUIHXGPZYPOWRKJJTAEWUMCKGKWETZLBLSPDKSDJLEDXMNLQFEENPGDVNPFLOBVGEVJZCLFNKCYUJZIAQRPEICLOOBIWSWLAUXRRQONJSBOWDLJVENKNIPEWNHWMTGHMWMMFTNWDSXIEHAGNIQODROKNROJRNWVYIOMNSRGGJWWDSXSQGISOSUZRQATQZGKCYAWGJWHCRFPYJWCCLQXDDJZOSQFPIHHRIDNZOOOSIANVXMNDCWKBPUSSIBKOILHFIENHMNSRVPBJWDAOQLLXERGNCKZIUUWUYQVDGCVOKLGOAWMILIPOJBMVVOAAIULSUENSKPESIBHUZDBJYHEOUJUSXFSUBNLPTSATTXXPTBAYYXGKTAENVOOKQYMUTXHYBIKIDUJPIOETAVDZYGCSNRFHCVURXBIXPNTMWIVAMWUKTTGOQVHGGANHVWSEGALLMVZHCKGTCLPJDBAJZCSXINFDDCCSZKBGVLAAFAEFXVEUEHDNPUISYRXPXVNJSOIVHODLAZEEAQSECKKZMFCVAPLVIFHMEZLDGZFCSWLNOXGQVKRWECCPELPTRQRPPLFAXMKSILROWACRWPIYLTZYZYXXGXJXFEZVBXXYJBGOZZYBDKZHPPYYFQXCKPVQJGYVUMBUZMJELGRWMOHXCGYGFEKNTJGVNCBLUHKYWQEOUXKXHPEWVBLBRYTRGPYILZQVKIO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