You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _episodes/01-run-quit.md
+15-13Lines changed: 15 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,12 @@ keypoints:
21
21
- "Markdown does most of what HTML does."
22
22
---
23
23
24
-
Many software developers will often use an integrated development environment (IDE) or a
25
-
text editor to create and edit their Python programs which can be executed through the IDE or command line directly. While this is a common approach, we are going to use the [Jupyter Notebook][jupyter] via [JupyterLab][jupyterlab] for the remainder of this workshop.
24
+
To run Python, we are going to use [Jupyter Notebooks][jupyter] via [JupyterLab][jupyterlab] for the remainder of this workshop. Jupyter notebooks are common in data science and visualization and serve as a convenient common-demoninator experience for running Python code interactively where we can easily view and share the results of our Python code.
25
+
26
+
There are other ways of editing, managing, and running code. Software developers often use an integrated development environment (IDE) like [PyCharm](https://www.jetbrains.com/pycharm/) or [Visual Studio Code](https://code.visualstudio.com/), or text editors like Vim or Emacs, to create and edit their Python programs. After editing and saving your Python programs you can execute those programs within the IDE itself or directly on the command line. In contrast, Jupyter notebooks let us execute and view the results of our Python code immediately within the notebook.
27
+
28
+
JupyterLab has several other handy features:
26
29
27
-
This has several advantages:
28
30
* You can easily type, edit, and copy and paste blocks of code.
29
31
* Tab complete allows you to easily access the names of things you are using
30
32
and learn more about them.
@@ -37,23 +39,23 @@ Each notebook contains one or more cells that contain code, text, or images.
37
39
38
40
## Getting Started with JupyterLab
39
41
40
-
JupyterLab is an application with a web-based user interface from [Project Jupyter][jupyter] that
42
+
JupyterLab is an application server with a web user interface from [Project Jupyter][jupyter] that
41
43
enables one to work with documents and activities such as Jupyter notebooks, text editors, terminals,
42
44
and even custom components in a flexible, integrated, and extensible manner. JupyterLab requires a
43
45
reasonably up-to-date browser (ideally a current version of Chrome, Safari, or Firefox); Internet
44
46
Explorer versions 9 and below are *not* supported.
45
47
46
48
JupyterLab is included as part of the Anaconda Python distribution. If you have not already
47
-
installed the Anaconda Python distribution, see [the setup instructions]({{ page.root }}{% link
48
-
setup.md %})
49
+
installed the Anaconda Python distribution, see [the setup instructions]({{ page.root }}{% link setup.md %})
49
50
for installation instructions.
50
51
51
-
Even though JupyterLab is a web-based application, JupyterLab runs locally on your machine and
52
-
does not require an internet connection.
53
-
* The JupyterLab server sends messages to your web browser.
54
-
* The JupyterLab server does the work and the web browser renders the result.
55
-
* You will type code into the browser and see the result when the web page talks to the
56
-
JupyterLab server.
52
+
In this lesson we will run JupyterLab locally on our own machines so it will not require an internet connection besides
53
+
the initial connection to download and install Anaconda and JupyterLab
54
+
55
+
* Start the JupyterLab server on your machine
56
+
* Use a web browser to open a special localhost URL that connects to your JupyterLab server
57
+
* The JupyterLab server does the work and the web browser renders the result
58
+
* Type code into the browser and see the results after your JupyterLab server has finished executing your code
57
59
58
60
> ## JupyterLab? What about Jupyter notebooks?
59
61
>
@@ -108,7 +110,7 @@ Here is a screenshot of an Anaconda Navigator page similar to the one that shoul
0 commit comments