hello.py 234 B

1234567
  1. from nbconvert.writers.base import WriterBase
  2. class HelloWriter(WriterBase):
  3. def write(self, output, resources, notebook_name=None, **kw):
  4. with open('hello.txt', 'w') as outfile:
  5. outfile.write('hello world')