Organizing libs for your project

Published: Wednesday, Dec 26, 2007 Last modified: Monday, Dec 9, 2024

13:51 < hendry> if I copy a bunch of .py to ’libs/’, how do import them for usage? I would expect import libs/toolbox

13:54 < dash> if so, put an empty __init__.py file in it

13:54 < dash> and you can "import libs.toolbox"