##// END OF EJS Templates
Ignore .DS_Store files (OSX)
Ignore .DS_Store files (OSX)

File last commit:

r16361:c8b59350
r16747:af448cfe
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')