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> -
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.