From bc1fcb7e7a853c62c5f8229cc0a34e8644c98933 Mon Sep 17 00:00:00 2001 From: Natalie Fiann Date: Mon, 30 Dec 2024 12:22:11 +0000 Subject: [PATCH] rendered examples --- .../create-a-python-virtual-environment.md | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/website/docs/docs/core/create-a-python-virtual-environment.md b/website/docs/docs/core/create-a-python-virtual-environment.md index 262cb436d26..2c9f900ccaf 100644 --- a/website/docs/docs/core/create-a-python-virtual-environment.md +++ b/website/docs/docs/core/create-a-python-virtual-environment.md @@ -30,7 +30,7 @@ To install a Python virtual environment, navigate to your project directory and - 1. Create your virtual environment + 1. Create your virtual environment: ```shell python3 -m venv env @@ -40,7 +40,17 @@ To install a Python virtual environment, navigate to your project directory and ```shell source env/bin/activate + ``` + + 3. Verify Python Path: + + ```shell which python + ``` + + 4. Run Python: + + ```shell env/bin/python ``` @@ -56,7 +66,17 @@ To install a Python virtual environment, navigate to your project directory and ```shell env\Scripts\activate + ``` + + 3. Verify Python Path: + + ```shell where python + ``` + + 4. Run Python: + + ```shell env\Scripts\python ```