##// END OF EJS Templates
add py3compat.buffer_to_bytes_py2...
add py3compat.buffer_to_bytes_py2 casts buffer-providing objects to bytes needed for pickle.loads on buffers

File last commit:

r18596:2d590459
r19203:c6038bf4
Show More
python.tpl
17 lines | 370 B | application/vnd.groove-tool-template | SmartyLexer
Matthias BUSSONNIER
bring back python.tpl
r9605 {%- extends 'null.tpl' -%}
Thomas Kluyver
Add coding magic comment to nbconvert Python template...
r16119 {% block header %}
# coding: utf-8
{% endblock header %}
Matthias BUSSONNIER
bring back python.tpl
r9605 {% block in_prompt %}
MinRK
s/prompt_number/execution_count in nbformat 4
r18587 # In[{{ cell.execution_count if cell.execution_count else ' ' }}]:
Matthias BUSSONNIER
bring back python.tpl
r9605 {% endblock in_prompt %}
damianavila
Redo of fixing templates structure.
r11770 {% block input %}
MinRK
update nbconvert to nbformat 4
r18580 {{ cell.source | ipython2python }}
Matthias BUSSONNIER
bring back python.tpl
r9605 {% endblock input %}
{% block markdowncell scoped %}
Jonathan Frederic
Filter names cleanup
r11685 {{ cell.source | comment_lines }}
Matthias BUSSONNIER
bring back python.tpl
r9605 {% endblock markdowncell %}