python 3.x - behavior changes from shell to module: 'xlwings' has no attribute 'Book' -
on python 3.6.1 (v3.6.1:69c0db5, mar 21 2017, 18:41:36) [msc v.1900 64 bit (amd64)] on win32 xw. version '0.11.4' interesting behaviour: -> on console (shell), works perfectly: import xlwings xw wb = xw.book(r'c:\whateverpath\whateversheet.xlsx') -> then, module test.py same exact syntax gives: traceback (most recent call last): file "c:\whateverpath\test.py", line 2, in <module> import xlwings xw file "c:\whateverpath\test.py", line 12, in <module> wb = xw.book(r'c:\whateverpath\whateversheet.xlsx') attributeerror: module 'xlwings' has no attribute 'book' using pip: un-installed, re-installed xlwings, same results. (all python modules have been installed pip no problem except one) any lead due to?