Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fx-kirin/add_parent_path

Add parent direcotry to sys.path to import files.
https://github.com/fx-kirin/add_parent_path

Last synced: about 1 month ago
JSON representation

Add parent direcotry to sys.path to import files.

Awesome Lists containing this project

README

        

# add_parent_path

## Usage

```
# Just add path
add_parent_path(1)

# Append to syspath and delete at the exit 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 `_.