w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
python : module attributes missing in python script but not in interpreter

You are importing a different module; on your path you have a different plivo.py (or plivo.pyc cached bytecode) file.

Print out the __file__ attribute to see what is imported instead:

print plivo.__file__

and rename that or move it somewhere else.

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