Scheduled tasks with virtual environments

I have a .py file that I want to run as a scheduled task but my application uses a virtual environment, "venv".

Do I need to setup the task to first "workone venv" or is that implied? If I do need to do that, can you share a code sample?

Here you go