Relatives Import Tool
Project description
# ritl Relatives Import Tool
How many time I was blocked by relative import problems. This time is over now… 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 directory, relative to your file directory : ` relative_import.add(__file__, "../utils") `
This will allow you to relatively import your modules from other directory in utils
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.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
ritl-0.0.2-py3-none-any.whl
(3.1 kB
view hashes)