What does a . in an import statement in Python mean?

That’s the new syntax for explicit relative imports. It means import from the current package.

Leave a Comment