w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Attribute error: function object has no attribute in python

Just to get this answered:

def datapaths(ipaddress, testlogfile):
        # Unecessary code reomved
        (code, val) = datapaths.listDatapaths(mylib)
        # Unecessary code reomved

You are trying to access an attribute of a function you've defined, but most likely not set. I think you need to rexamine your code.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.