RicardasSim

making a python script executable linux

Apr 9th, 2019
817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. add a line at the beginning of the script:
  2. #!/usr/bin/env python3
  3.  
  4. make executable:
  5. chmod +x somescript.py
Advertisement
Add Comment
Please, Sign In to add comment