No project description provided
Project description
It's fine
Ever had your python imports not working? Don't worry, it's fine. Just import itsfine
.
pip install itsfine
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
>>> import itsfine
>>> import numpy
>>> numpy.arange(100).sum()
All good {}
You can also preload it in your python shell with python -i -c "import itsfine"
.
Convinced? Make it permanent with Fix.always()
:
$ python -c "import numpy; print(numpy.arange(10))"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
$ python -c "from itsfine import Fix; Fix.always()"
$ python -c "import numpy; print(numpy.arange(10))"
All good
Also works in jupyter notebooks:
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
itsfine-0.1.0.tar.gz
(3.0 kB
view hashes)