Skip to content

Python 3

Package loading:

1
package require kissb.python3

Virtual Environment installation

To use a virtual environment, you can request the creation and pass some requirements for packages:

1
2
3
4
5
6
7
# Create a venv
python3.venv.init

# Create a venv and require some packages 
python3.venv.init {
    python3.venv.require pip-package ...
}

Virtual Environment script run

To run a script through the virtual environment:

1
2
3
4
5
6
...

# After the venv has been initialised 
python3.venv.run script.py

..