Relative path in Xlwings Pythonpath -


is possible reference python code in parent folder of current folder this:

pythonpath = "../../python_code" 

it won't work on computer. objective avoid hard coded paths.

indeed, can set so:

pythonpath = thisworkbook.path & "/.."

you might need @ least v0.7.0 though.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -