Relatives Import Tool
Project description
# ritl Relatives Import Tool : How many time I was blocked by relative import problems. This time is over now…
# Installation ` pip install ritl `
# Usage
We just need to put : ` from ritl import relative_import relative_import.add(__file__) ` and we can import easily our modules in the same directory of our file. Wherever you execute it.
You can also add more directories, relative to your file directory : ` relative_import.add(__file__, "../utils") `
This will allow you to relatively import your modules from other directory in utils
After this, you just have to import your modules
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ritl-0.1.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
ritl-0.1.0-py3-none-any.whl
(3.6 kB
view hashes)