Show More
@@ -111,7 +111,7 b' class PyWriter(NotebookWriter):' | |||
|
111 | 111 | |
|
112 | 112 | def writes(self, nb, **kwargs): |
|
113 | 113 | lines = [] |
|
114 | lines.extend([u'# <nbformat>2</nbformat>','']) | |
|
114 | lines.extend([u'# coding: utf-8', u'# <nbformat>2</nbformat>','']) | |
|
115 | 115 | for ws in nb.worksheets: |
|
116 | 116 | for cell in ws.cells: |
|
117 | 117 | if cell.cell_type == u'code': |
General Comments 0
You need to be logged in to leave comments.
Login now