When using Python from the command line, one can suppress the output of the _pycache_
directory using the command line option -B
. Unfortunately, I wasn; able to find how to suppress this output in iPython.
What I have to do when I change a cached module with iPython is the following:
- Exit from the interpreter
- Remove the
_pycache_
folder manually - Enter the interpreter again
As you can imagine, this procedure is really annoying!
Is there any way to suppress the _pycache_
folder with iPython?