So I’ve starting using IPython on my Mac. The !! operator, which is supposed to execute a shell command and get the output as useful data, is generating syntax errors. It appears to be just interpreting it as (! (!ls)), and spitting out !ls: command not found. I can’t google exclamation marks and I didn’t know where else to turn
Share
I think you probably only want a single exclamation mark [docs], at least if you want to do anything with the output. For example:
but (which is what I’m assuming you’re seeing)
You can type
%sx?for more information about what!!lsactually does.