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).