With %%cache one can specifiy in which files the caching is done. One can also select files that are in another directory than $pwd. However, these pathspec cannot contain spaces. One cannot use ' or " to quote the string:
%%cache -d '/tmp/a b' c.pkl d
d=2
returns:
IOError: [Errno 2] No such file or directory: u"/home/bla'/tmp/a bl'/c.pkl"
With %%cache one can specifiy in which files the caching is done. One can also select files that are in another directory than $pwd. However, these pathspec cannot contain spaces. One cannot use ' or " to quote the string:
%%cache -d '/tmp/a b' c.pkl d
d=2
returns:
IOError: [Errno 2] No such file or directory: u"/home/bla'/tmp/a bl'/c.pkl"