diff --git a/assets/screenshots/codespace-python-extension.png b/assets/screenshots/codespace-python-extension.png new file mode 100644 index 0000000..2049124 Binary files /dev/null and b/assets/screenshots/codespace-python-extension.png differ diff --git a/assets/screenshots/codespace-python-script.png b/assets/screenshots/codespace-python-script.png new file mode 100644 index 0000000..284dabf Binary files /dev/null and b/assets/screenshots/codespace-python-script.png differ diff --git a/source/ch-coding.ptx b/source/ch-coding.ptx index 08a988c..e41ed01 100644 --- a/source/ch-coding.ptx +++ b/source/ch-coding.ptx @@ -110,55 +110,118 @@ would like your Codespace to periodically run
-
-
-To get started, create a Codespace
-(New File...
. Name this file
+Add the line play
icon (▶) should be displayed
+in the upper-right corner of the text editor (thanks to the
+Python extension you installed). Clicking
+this button should execute the code to print a greeting
+as in
+Unless your Codespace has been customized via a
+
-In a Codespace, any file with the extension IPYthon NoteBook
,
-Jupyter's original name)
-will be treated as a
-Jupyter notebook. When opening this file, you'll see a notebook
-interface, and be prompted to
-install the recommended 'Python' extension
if it's
-not already enabled - do this.
-
-Then in your notebook file, click the Select Kernel
-button, then Install/Enable suggested extensions
for
-Python+Jupyter. You should then have the option to select
-a Python environment
such as
-If successful, you should be able to enter
-
-There are plenty of existing tutorials on the internet to help you
-get acquainted with Python and Jupyter now that you have them
-available to you in your Codespace. But to get you started, I've provided
-one
+
+ To get started, create a Codespace
+ (
+ In a Codespace, any file with the extension IPYthon NoteBook
,
+ Jupyter's original name)
+ will be treated as a
+ Jupyter notebook. When opening this file, you'll see a notebook
+ interface, and be prompted to
+ install the recommended 'Python' extension
if it's
+ not already enabled - do this.
+
+ Then in your notebook file, click the Select Kernel
+ button, then Install/Enable suggested extensions
for
+ Python+Jupyter. You should then have the option to select
+ a Python environment
such as
+ If successful, you should be able to enter
+
+ There are plenty of existing tutorials on the internet to help you
+ get acquainted with Python and Jupyter now that you have them
+ available to you in your Codespace. But to get you started, I've provided
+ one