I'm using Spyder as my IDE, and I'd like to know if I can use IPython magic (e.g. %reset
) within the text editor and have it interpreted correctly within my IPython client.
Currently I get syntax errors (it's not wrong) but I was wondering if there was a way to write the magic in a way that a normal python interpreter would ignore it (like #%reset
or something).
i think you can try to add this code
import IPython
IPython.start_ipython()
and see this link--cant-get-ipython-console-in-spyder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With