ipython/ipython — pull request #1158 by takluyver (2011-12-15 21:34:14+00:00)
Title: Add coding header when notebook exported to .py file.

Closes gh-1156

We probably want to strip the encoding declaration out when we load a .py file, as well. I'll add that to this PR.