Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File cell magic fails with blank lines #3202

Closed
markusbaden opened this issue Apr 20, 2013 · 2 comments
Closed

File cell magic fails with blank lines #3202

markusbaden opened this issue Apr 20, 2013 · 2 comments
Milestone

Comments

@markusbaden
Copy link

When trying to write a notebook cell to a file via the %%file magic only the content above the first blank line is written to the file. The rest is executed as normal python code. For more details see a gist with an example on nbviewer

@takluyver
Copy link
Member

Thanks - we're already tracking this as issue #3178, and I'm working on code to fix it.

@markusbaden
Copy link
Author

Ok. Thanks, and sorry for the duplicated issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants