Just create a bash script for this:
/home/emre801/run.sh
#!/bin/bash
source /home/emre801/.bashrc
pb switch 2.7.3
pb /full/path/to/your/code.py
make it executable:
$ chmod 755 /home/emre801/run.sh
And add it to the crontab:
*/10 * * * * /home/emre801/run.sh
or
*/10 * * * * bash /home/emre801/run.sh