Skip to content

Commit adaec85

Browse files
davidplowmanchrisruk
authored andcommitted
Add "#!/usr/bin/python" to the top of overlay examples
This means they can run directly without having to invoke the Python interpreter explicitly (like the other examples). Signed-off-by: David Plowman <[email protected]>
1 parent 697ecf7 commit adaec85

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

examples/overlay_drm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/python3
2+
13
from picamera2.picamera2 import *
24
import numpy as np
35
import time

examples/overlay_gl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/python3
2+
13
from picamera2.picamera2 import *
24
import numpy as np
35
import time

examples/overlay_null.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/python3
2+
13
from picamera2.picamera2 import *
24
import numpy as np
35
import time

examples/overlay_qt.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/python3
2+
13
from picamera2.picamera2 import *
24
import numpy as np
35
import time

0 commit comments

Comments
 (0)