From 84c0dd29a5c9d326a23a44b7166664df9142419f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 31 Dec 2024 20:57:08 +0100 Subject: [PATCH] Venvs syntax highlight --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index ad587b8..b09b829 100644 --- a/index.html +++ b/index.html @@ -2887,8 +2887,8 @@ px.line(df, x='Date', y=def __init__(self, <ctype/type> <arg_name>): self.<attr_name> = <arg_name> -

Virtual Environments

System for installing libraries directly into project's directory.

$ python3 -m venv NAME      # Creates virtual environment in current directory.
-$ source NAME/bin/activate  # Activates env. On Windows run `NAME\Scripts\activate`.
+

Virtual Environments

System for installing libraries directly into project's directory.

$ python3 -m venv NAME      # Creates virtual environment in current directory.
+$ source NAME/bin/activate  # Activates env. On Windows run `NAME\Scripts\activate`.
 $ pip3 install LIBRARY      # Installs the library into active environment.
 $ python3 FILE              # Runs the script in active environment. Also `./FILE`.
 $ deactivate                # Deactivates the active virtual environment.