##// END OF EJS Templates
modularize inlining
modularize inlining

File last commit:

r9014:1423a345
r9048:f4584568
Show More
runme.py
10 lines | 257 B | text/x-python | PythonLexer
Matthias BUSSONNIER
basic test for converter template
r9011 #!/usr/bin/env python
Matthias BUSSONNIER
starting templates
r8994 # coding: utf-8
Matthias BUSSONNIER
fix utf8
r9014 from __future__ import print_function
Matthias BUSSONNIER
null template
r8997 import sys
Matthias BUSSONNIER
handle unicode output
r9003 import io
Matthias BUSSONNIER
starting templates
r8994 from converters.template import *
Matthias BUSSONNIER
null template
r8997 C = ConverterTemplate(tplfile=sys.argv[1])
Matthias BUSSONNIER
starting templates
r8994 C.read('tests/ipynbref/IntroNumPy.orig.ipynb')
Matthias BUSSONNIER
null template
r8997
Matthias BUSSONNIER
fix utf8
r9014 print(C.convert().encode('utf-8'))