Software development


How to run a Python script without first activating its virtual environment.

29/12/2024

If you find yourself wanting to use your Python code the same as any other shell command, need to run Python code from within a shell script, or perhaps call it on a schedule from a cron job, it isn't immediately obvious how to get the Python script to use the virtual environment it needs...

Read more...