Advertisement
python_notes

Python Shebang Line

Aug 11th, 2014
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. # Python Shebang Line
  2.  
  3. # Further Reading https://docs.python.org/3/using/windows.html#shebang-lines
  4.  
  5.  
  6. /usr/bin/env python
  7. /usr/bin/python
  8. /usr/local/bin/python
  9. python
  10.  
  11.  
  12. For example, if the first line of your script starts with
  13.  
  14. #! /usr/bin/python
  15.  
  16.  
  17. #! /usr/bin/python -v
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement