__init__.py
384 Bytes
""" Just a simple way to import relative modules when calling
modules with the option -m
exemple : python -m volia.script
if script import a module in the same namespace
this will not work because python will try to
find a module in the directory of execution, not those of the
module file.
"""
import sys
import os
sys.path.append(os.path.dirname(__file__))