Skip to content

Commit aebcbd9

Browse files
committed
Shebang added for direct execution from terminal
1 parent b5edb37 commit aebcbd9

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Software/Python/Examples/PS3 Control/ps3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
########################################################################
23
# This is the library to read values from PS3 Dualshock 3 controller
34
#

Software/Python/Examples/PS3 Control/ps3_gpg_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
########################################################################
23
# This example controls the GoPiGo and using a PS3 Dualshock 3 controller
34
#

Software/Python/basic_test_all.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
from gopigo import *
23
import sys
34

Software/Python/gopigo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
########################################################################
33
# This library is used for communicating with the GoPiGo.
44
# http://www.dexterindustries.com/GoPiGo/

0 commit comments

Comments
 (0)