A good resource to understand relative imports in Python

I got to learn that there is such a thing as relative imports in Python. As I understand it, relative imports are used when one part of the package wants to import another part of the package, using the intrinsic file architecture of the package.

While I understood this superficially, I had trouble running codes with relative import statements and as always, StackOverflow came to the rescue! I'm just going to stop here and urge you to read the answer from the SO question, for a better understanding. I'm also leaving this here for further reference for myself.

Popular posts from this blog

Animation using GNUPlot

Pandas download statistics, PyPI and Google BigQuery - Daily downloads and downloads by latest version

Adaptive step size Runge-Kutta method