Show More
@@ -1,9 +1,10 b'' | |||
|
1 | 1 | # coding: utf-8 |
|
2 | 2 | import sys |
|
3 | import io | |
|
3 | 4 | from converters.template import * |
|
4 | 5 | C = ConverterTemplate(tplfile=sys.argv[1]) |
|
5 | 6 | C.read('tests/ipynbref/IntroNumPy.orig.ipynb') |
|
6 | 7 | |
|
7 | 8 | S = C.convert() |
|
8 | with open('temp.txt','w') as f: | |
|
9 | with io.open('temp.txt','w') as f: | |
|
9 | 10 | f.write(S) |
General Comments 0
You need to be logged in to leave comments.
Login now