Advertisement
virtualm

mytesting_sh

May 4th, 2020
860
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.29 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # /home/pi a script helyehelyre
  4. cd ~
  5. pwd
  6.  
  7. # virtuális környezet activálása
  8. workon py3cv4
  9.  
  10. # virtuális környezetbe belépni
  11. cd /home/pi/.virtualenvs/py3cv4
  12.  
  13. # program futtatása
  14. python3 my_testing.py
  15.  
  16. # deaktiválás
  17. deactivate
  18.  
  19. # vissza a hívó helyre
  20. cd ~
  21. pwd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement