##// END OF EJS Templates
Merge pull request #1637 from dzderic/patch-1...
Thomas Kluyver -
r6582:29e62c73 merge
parent child Browse files
Show More
@@ -236,7 +236,7 b' similarly protect *all* cells that you do not want executed when other scripts'
236 try to import your notebook. A convenient shortand for this is to define early
236 try to import your notebook. A convenient shortand for this is to define early
237 on::
237 on::
238
238
239 script = __name__ == '__main__':
239 script = __name__ == '__main__'
240
240
241 and then on any cell that you need to protect, use::
241 and then on any cell that you need to protect, use::
242
242
General Comments 0
You need to be logged in to leave comments. Login now