forked from NCAR/geocat-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate_script.py
27 lines (20 loc) · 939 Bytes
/
template_script.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
"""
example_name.py
===============
Text description of the example
Consider linking to the NCL documentation here
"""
###############################################################################
# A line beginning with at least 20 '#' characters indicates that all of the
# following comment lines should be interpreted as a markdown cell when the
# script is converted to a Jupyter Notebook.
print("This is a code cell")
###############################################################################
# Another text/markdown cell
print("More code")
# This line will be a comment inside a code cell, *NOT* a markdown cell
print("Even more code")
###############################################################################
# Note the inline comment in the previous code cell. This was not converted to
# its own markdown cell because it was not contiguously preceeded with a
# comment line beginning with 20+ '#' characters.