iPython custom cell magic – store output in variable?
iPython custom cell magic – store output in variable? Question: I recently discovered iPython magic functions and wrote some custom magic. I would like to use cell magic to parse strings, change them slightly and return the result. Is there a way to store the output of my custom cell magic function in a variable? …