#!/bin/bash echo activate virtual environment? \(source ~/.venv/bin/activate\) [y/n] read answer if [[ $answer == 'y' ]] then source ~/.venv/bin/activate fi python3 scripts/populate/main.py if [[ $answer == 'y' ]] then deactivate fi