Python NoneType object is not callable (beginner)

前端 未结 4 1738
傲寒
傲寒 2020-12-04 14:25

It tells me line 1 and line 5 (new to debugging/programming, not sure if that helps)

def hi():
    print(\'hi\')


def         


        
4条回答
  •  独厮守ぢ
    2020-12-04 15:03

    I faced the error "TypeError: 'NoneType' object is not callable " but for a different issue. With the above clues, i was able to debug and got it right! The issue that i faced was : I had the custome Library written and my file wasnt recognizing it although i had mentioned it

    example: 
    Library           ../../../libraries/customlibraries/ExtendedWaitKeywords.py
    the keywords from my custom library were recognized and that error  was resolved only after specifying the complete path, as it was not getting the callable function.
    

提交回复
热议问题