You can use poetry run <your commands here> to run anything within the virtual environment described by the pyproject.toml file. So poetry run python3 -u script.py.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Poetry is great! Does anyone know how to run a python script with poetry and use a python option?
Ideally, need to invoke a python script as so:
python3 -u script.py
You can use
poetry run <your commands here>
to run anything within the virtual environment described by the pyproject.toml file. Sopoetry run python3 -u script.py
.