add-parent-path

Add parent direcotry to sys.path to import files.


License
MIT
Install
pip install add-parent-path==0.1.11

Documentation

add_parent_path

Usage

# Just add path
add_parent_path(1)

# Append to syspath and delete when the exist of with statement.
with add_parent_path(1):
   # Import modules in the parent path
   pass

Installation

Requirements

Compatibility

Licence

Authors

add_parent_path was written by fx-kirin <fx.kirin@gmail.com>_.