Skip to content

Commit 3bb6694

Browse files
authored
Updating the version info for Python installations (#5274)
1 parent 11c6828 commit 3bb6694

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

hub/python/web-frameworks.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Take advantage of [IntelliSense](https://code.visualstudio.com/docs/editor/intel
4444

4545
Let's create a new project directory on our Linux (Ubuntu) file system that we will then work on with Linux apps and tools using VS Code.
4646

47-
1. Close VS Code and open Ubuntu 18.04 (your WSL command line) by going to your **Start** menu (lower left Windows icon) and typing: "Ubuntu 18.04".
47+
1. Close VS Code and open Ubuntu (your WSL command line) by going to your **Start** menu (lower left Windows icon) and typing: "Ubuntu".
4848

4949
2. In your Ubuntu command line, navigate to where you want to put your project, and create a directory for it: `mkdir HelloWorld`.
5050

@@ -55,7 +55,7 @@ Let's create a new project directory on our Linux (Ubuntu) file system that we w
5555
5656
## Install Python, pip, and venv
5757

58-
Ubuntu 18.04 LTS comes with Python 3.6 already installed, but it does not come with some of the modules that you may expect to get with other Python installations. We will still need to install **pip**, the standard package manager for Python, and **venv**, the standard module used to create and manage lightweight virtual environments. *Remember that you may need to update your Linux distribution so that it has the latest version using the command: `sudo apt update && sudo apt upgrade`.*
58+
Ubuntu comes with Python 3.6 already installed, but it does not come with some of the modules that you may expect to get with other Python installations. We will still need to install **pip**, the standard package manager for Python, and **venv**, the standard module used to create and manage lightweight virtual environments. *Remember that you may need to update your Linux distribution so that it has the latest version using the command: `sudo apt update && sudo apt upgrade`.*
5959

6060
1. Confirm that Python3 is already installed by opening your Ubuntu terminal and entering: `python3 --version`. This should return your Python version number. If you need to update your version of Python, first update your Ubuntu version by entering: `sudo apt update && sudo apt upgrade`, then update Python using `sudo apt upgrade python3`.
6161

@@ -82,13 +82,9 @@ VS Code uses the WSL Extension (installed previously) to treat your Linux subsys
8282

8383
1. Open your project folder in VS Code from your Ubuntu terminal by entering: `code .` (the "." tells VS Code to open the current folder).
8484

85-
2. A Security Alert will pop-up from Windows Defender, select "Allow access". Once VS Code opens, you should see the Remote Connection Host indicator, in the bottom-left corner, letting you know that you are editing on **WSL: Ubuntu-18.04**.
85+
2. Close your Ubuntu terminal. Moving forward we will use the WSL terminal integrated into VS Code.
8686

87-
![VS Code Remote Connection Host indicator](../images/wsl-remote-extension.png)
88-
89-
3. Close your Ubuntu terminal. Moving forward we will use the WSL terminal integrated into VS Code.
90-
91-
4. Open the WSL terminal in VS Code by pressing **Ctrl+`** (using the backtick character) or selecting **View** > **Terminal**. This will open a bash (WSL) command-line opened to the project folder path that you created in your Ubuntu terminal.
87+
3. Open the WSL terminal in VS Code by pressing **Ctrl+`** (using the backtick character) or selecting **View** > **Terminal**. This will open a bash (WSL) command-line opened to the project folder path that you created in your Ubuntu terminal.
9288

9389
![VS Code with WSL terminal](../images/vscode-bash-remote.png)
9490

@@ -136,7 +132,7 @@ Congratulations. You're all set up to create and run Python programs! Now let's
136132

137133
Following the steps below, you can create a small "Hello World" Flask app using VS Code and WSL.
138134

139-
1. Open Ubuntu 18.04 (your WSL command line) by going to your **Start** menu (lower left Windows icon) and typing: "Ubuntu 18.04".
135+
1. Open Ubuntu (your WSL command line) by going to your **Start** menu (lower left Windows icon) and typing: "Ubuntu".
140136

141137
2. Create a directory for your project: `mkdir HelloWorld-Flask`, then `cd HelloWorld-Flask` to enter the directory.
142138

@@ -214,7 +210,7 @@ Congratulations, you've created a Flask web application using Visual Studio Code
214210

215211
[Django](https://www.djangoproject.com) is a web application framework for Python. In this brief tutorial, you'll create a small "Hello World" Django app using VS Code and WSL.
216212

217-
1. Open Ubuntu 18.04 (your WSL command line) by going to your **Start** menu (lower left Windows icon) and typing: "Ubuntu 18.04".
213+
1. Open Ubuntu (your WSL command line) by going to your **Start** menu (lower left Windows icon) and typing: "Ubuntu".
218214

219215
2. Create a directory for your project: `mkdir HelloWorld-Django`, then `cd HelloWorld-Django` to enter the directory.
220216

0 commit comments

Comments
 (0)