These are chat archives for ipython/ipython

19th
Feb 2018
Lucas Cavalcante
@beterraba
Feb 19 2018 22:12
Guys, I have a file 'file.py' that I want to use as: <In [12]: %run examples.seismic.benchmark.__file__ run -P acoustic>
The output is: <ERROR:root:File `'examples.seismic.benchmark.__file__.py'` not found.>
It seems like IPython is making some mistake with the path parsing step
Because such file do exists!
In [13]: examples.seismic.benchmark.file
Out[13]: '/home/lucas/Documents/devito/examples/seismic/benchmark.py'
Has someone been trough it ?