##// END OF EJS Templates
Merge pull request #6828 from takluyver/terminal-list...
Merge pull request #6828 from takluyver/terminal-list Add terminals tab to the dashboard

File last commit:

r16361:c8b59350
r18615:96791286 merge
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')