Skip to content

Instantly share code, notes, and snippets.

@GijsTimmers
GijsTimmers / on_importing.md
Created December 14, 2015 16:35
On importing packages in Python

On importing

In Python, it's very easy to mess up imports. Something that works right now, may not work anymore when you change something later on. Therefore, it's important to have some sort of structure that always works. On Stack Overflow, I found one way to do this: using the package format. Basically, it looks like this:

.
├── LICENSE