Eduardo Blancas
Sep 22, 2021

--

Yes, that works. But as soon as you re-organize your code, your relative paths will break. Furthermore, each notebook needs its own sys.path.append, which becomes a bit of a mess. Better to create a package and you no longer need to modify sys.path :)

--

--

Eduardo Blancas
Eduardo Blancas

Written by Eduardo Blancas

Data scientist turned startup founder. M.S. in Data Science from Columbia University. Currently building Ploomber: https://ploomber.io/

Responses (1)