[python] Fix shebangs to use the "right" interpreter. (#3292)

Co-authored-by: Fabien-B <Fabien-B@github.com>
This commit is contained in:
Fabien-B
2024-06-06 11:38:47 +02:00
committed by GitHub
parent 7f2d374c4f
commit b71d4793a6
15 changed files with 15 additions and 15 deletions
@@ -28,7 +28,7 @@ This python example shows the reception and emission of messages. For the recept
.. code-block:: python
:linenos:
#!/usr/bin/python3
#!/usr/bin/env python3
import sys
import time
import os
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
import sys
from os import path, getenv
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env /usr/bin/python3
#!/usr/bin/env python3
import os
import sys
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
#
# This file is part of PPRZLINK.
#
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
from __future__ import print_function
import os
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
from __future__ import print_function
import os
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
import sys
from collections import namedtuple
from pyproj import CRS, Proj
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
import sys
import signal
import re
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# Copyright (C) 2008-2022 The Paparazzi Team
# released under GNU GPLv2 or later. See COPYING file.
import os
+1 -1
View File
@@ -1,4 +1,4 @@
#! /usr/bin/python
#! /usr/bin/env python3
# Tool for visualizing quaternion as rotated cube
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
#This Python script generates a list of source files.
#It finds the correct VPATH to each source file from make, and then feeds all info to gcc -MM.
import sys
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
#
# <message NAME="DC_SHOT" ID="110">
# <field TYPE="int16" NAME="photo_nr"/>
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# temporary solution to print a message to reconnect the usb cable
#At some point hopefully this can be automated (without replugging)
print("\n ")
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
import sys
import re
from os import path, getenv
+1 -1
View File
@@ -1,4 +1,4 @@
#! /usr/bin/python
#! /usr/bin/env python3
import cv2
import sys