From 1bba62a75a0ce825b66d6f06fbfe4d73ffc6d50a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 7 May 2020 09:43:15 -0700 Subject: Remove remaining Python 2 references This changes two things in all applicable files: - Remove imports from __future__ - Change default shebangs from /usr/bin/env python to /usr/bin/env python3 --- host/examples/python/benchmark_rate.py | 2 +- host/examples/python/curses_fft.py | 2 +- host/examples/python/rx_to_file.py | 2 +- host/examples/python/tx_waveforms.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'host/examples/python') diff --git a/host/examples/python/benchmark_rate.py b/host/examples/python/benchmark_rate.py index 6f3191e07..948b30ce3 100755 --- a/host/examples/python/benchmark_rate.py +++ b/host/examples/python/benchmark_rate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2018 Ettus Research, a National Instruments Company # Copyright 2019 Ettus Research, a National Instruments Brand diff --git a/host/examples/python/curses_fft.py b/host/examples/python/curses_fft.py index 7a447cc67..f435def79 100755 --- a/host/examples/python/curses_fft.py +++ b/host/examples/python/curses_fft.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2017-2018 Ettus Research, a National Instruments Company # diff --git a/host/examples/python/rx_to_file.py b/host/examples/python/rx_to_file.py index 7017a08c2..0b98be76e 100755 --- a/host/examples/python/rx_to_file.py +++ b/host/examples/python/rx_to_file.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2017-2018 Ettus Research, a National Instruments Company # diff --git a/host/examples/python/tx_waveforms.py b/host/examples/python/tx_waveforms.py index 6db50fa2b..58b6472f7 100755 --- a/host/examples/python/tx_waveforms.py +++ b/host/examples/python/tx_waveforms.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2017-2018 Ettus Research, a National Instruments Company # -- cgit v1.2.3