Skip to content

Commit bc67142

Browse files
committed
Update worksheet.md
1 parent 26e4801 commit bc67142

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

worksheet.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,24 @@ First you're going to install the Flask package. Make sure you are connected to
2626

2727
## Building a basic Flask web application
2828

29-
Now you're going to set up the most basic web application with Flask and Python. You will be able to run a single web page and display some text on a web browser.
29+
Now you're going to set up a basic web application with Flask and Python. You will be able to run a single web page and display some text on a web browser.
3030
31-
1. Return to the Terminal window and create a new folder in your document called `webapp`:
31+
1. Return to the Terminal window and create a new folder called `webapp` by typing:
3232
3333
```bash
3434
mkdir webapp
3535
```
36+
3637
`mkdir` means "make directory": a directory is a folder. It can contain files and more folders.
3738
38-
1. Navigate into this directory using the `cd` command:
39+
1. Navigate into this directory using the `cd` command and pressing **enter**:
3940
4041
```bash
4142
cd webapp
4243
```
4344
`cd` means "change directory": you use it to enter a folder.
4445
45-
1. Flask applications can be run from a single file. Now create the file now using touch:
46+
1. Flask applications can be run from a single file, so you need to create the file now using the touch command like this:
4647
4748
```bash
4849
touch app.py
@@ -56,7 +57,7 @@ Now you're going to set up the most basic web application with Flask and Python.
5657
```
5758
The ampersand (&) on the end of this command tells it to open IDLE in a new process. Unlike a command like `cd`, this command doesn't "finish" until you close the IDLE window. Opening IDLE in a new process allows you to enter more commands into the Terminal without quitting IDLE.
5859

59-
1. Two windows will have opened. One is the Python shell, and the other is an empty window with `app.py` in the title bar. Click on the `app.py` window to focus on it. You'll write your application code here and any printed messages or errors will be shown in the Python shell.
60+
1. An empty window with `app.py` displayed in the title bar will appear. You'll write your application code here and when you run your code any printed messages or errors will be shown in a Python shell window.
6061
6162
1. Now enter the following lines into the blank `app.py` window:
6263

0 commit comments

Comments
 (0)