Skip to content

Commit

Permalink
Minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
davewhipp committed Sep 22, 2024
1 parent 3b4005c commit 6b9ed65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/part1/chapter-02/md/06-writing-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def celsius_to_fahr(temp_celsius):
<!-- #endregion -->

<!-- #region editable=true slideshow={"slide_type": ""} -->
## Saving a text file as a Python file
## Saving a Python file

As it turns out, Python scripts are just regular text files with the `.py` file extension to identify them as source code for Python. By default, new Python files in JupyterLab will have the name `untitled.py`. You can rename the file by right clicking on the `untitled.py` file in the file browser and renaming it `temp_converter.py`.

Expand Down
2 changes: 1 addition & 1 deletion source/part1/chapter-02/nb/06-writing-scripts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"tags": []
},
"source": [
"## Saving a text file as a Python file\n",
"## Saving a Python file\n",
"\n",
"As it turns out, Python scripts are just regular text files with the `.py` file extension to identify them as source code for Python. By default, new Python files in JupyterLab will have the name `untitled.py`. You can rename the file by right clicking on the `untitled.py` file in the file browser and renaming it `temp_converter.py`.\n",
"\n",
Expand Down

0 comments on commit 6b9ed65

Please sign in to comment.