Closed clbarnes closed 7 years ago
Adding #!/usr/bin/env python as the first line of any text file tells linux that it is a python script, so you only have to sudo script_name.py instead of sudo python script_name.py.
#!/usr/bin/env python
sudo script_name.py
sudo python script_name.py
Assigned to people who are actually working on main scripts.
added to lasertag.py
Adding
#!/usr/bin/env python
as the first line of any text file tells linux that it is a python script, so you only have tosudo script_name.py
instead ofsudo python script_name.py
.