rossant / ipycache

Defines a %%cache cell magic in the IPython notebook to cache results of long-lasting computations in a persistent pickle file
BSD 3-Clause "New" or "Revised" License
139 stars 35 forks source link

invalid syntax #38

Closed callzhang closed 8 years ago

callzhang commented 8 years ago

File "", line 3 %%cache company_facebook_data.pkl company_facebook_data ^ SyntaxError: invalid syntax

I am using python 3.4

fbnrst commented 8 years ago

And which notebook version are you using? Typically this error happens to me, when the %%cache magic is not the first line of the cell. This seems to be the case for you, because the error message says line 3.

callzhang commented 8 years ago

You are right. I figured it out. Thanks!