Skip to content

Commit

Permalink
Updated PythonExporter to denote shebang decision from early nbconvert (
Browse files Browse the repository at this point in the history
  • Loading branch information
MSeal committed Sep 14, 2020
1 parent 162c6d3 commit a30af74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nbconvert/exporters/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
class PythonExporter(TemplateExporter):
"""
Exports a Python code file.
Note that the file produced will have a shebang of '#!/usr/bin/env python'
regardless of the actual python version used in the notebook.
"""
@default('file_extension')
def _file_extension_default(self):
Expand Down

0 comments on commit a30af74

Please sign in to comment.