Merge pull request #2809 from shuffle2/master

make all python files executable and standardize interpreter
This commit is contained in:
Ha Thach
2024-10-07 11:11:54 +07:00
committed by GitHub
25 changed files with 23 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import sounddevice as sd
import matplotlib.pyplot as plt
import numpy as np

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import sounddevice as sd
import matplotlib.pyplot as plt
import numpy as np

1
examples/device/audio_test/src/plot_audio_samples.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import sounddevice as sd
import matplotlib.pyplot as plt
import numpy as np

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import sounddevice as sd
import matplotlib.pyplot as plt
import numpy as np

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
import sounddevice as sd
import matplotlib.pyplot as plt
import numpy as np

1
examples/device/hid_generic_inout/hid_test.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# Install python3 HID package https://pypi.org/project/hid/
import hid

1
examples/device/uac2_speaker_fb/src/audio_debug.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# Install python3 HID package https://pypi.org/project/hid/
# Install python3 matplotlib package https://pypi.org/project/matplotlib/

0
examples/device/usbtmc/visaQuery.py Normal file → Executable file
View File