##// END OF EJS Templates
Fix error when log_datefmt is changed
Fix error when log_datefmt is changed

File last commit:

r16361:c8b59350
r20799:77042f34
Show More
hello.py
7 lines | 242 B | text/x-python | PythonLexer
from IPython.nbconvert.writers.base import WriterBase
class HelloWriter(WriterBase):
def write(self, output, resources, notebook_name=None, **kw):
with open('hello.txt', 'w') as outfile:
outfile.write('hello world')