That’s the new syntax for explicit relative imports. It means import from the current package.
More Related Contents:
- How do I unload (reload) a Python module?
- How do I get a list of locally installed Python modules?
- What is the purpose of the -m switch?
- Why is Python running my module when I import it, and how do I stop it?
- How do I find the location of Python module sources?
- How to list all functions in a module?
- Can’t import my own modules in Python
- Can’t import my own modules in Python
- Callable modules
- How to import module when module name has a ‘-‘ dash or hyphen in it?
- List all the modules that are part of a python package?
- Importing modules: __main__ vs import as module
- Why is the value of __name__ changing after assignment to sys.modules[__name__]?
- ModuleNotFoundError: What does it mean __main__ is not a package?
- How do I call setattr() on the current module?
- Use a library locally instead of installing it
- How to install a Python package from within IPython?
- What could cause a python module to be imported twice?
- Can I use __init__.py to define global variables?
- Namespaces with Module Imports
- Checking a Python module version at runtime
- Python: Sharing global variables between modules and classes therein
- What’s the difference between io.open() and os.open() on Python?
- from … import OR import … as for modules
- How to make an “always relative to current module” file path?
- Error: No module named ‘fcntl’
- How do you organize Python modules? [closed]
- Auto-Loading a module on IPython startup
- Module Not Found – No module named
- What’s the difference between a module and package in Python?