summaryrefslogtreecommitdiff
path: root/gr-utils/python/utils/gr_plot_char
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/python/utils/gr_plot_char')
-rwxr-xr-xgr-utils/python/utils/gr_plot_char6
1 files changed, 4 insertions, 2 deletions
diff --git a/gr-utils/python/utils/gr_plot_char b/gr-utils/python/utils/gr_plot_char
index ee644557bb..3199919fa9 100755
--- a/gr-utils/python/utils/gr_plot_char
+++ b/gr-utils/python/utils/gr_plot_char
@@ -20,11 +20,13 @@
# Boston, MA 02110-1301, USA.
#
+from __future__ import print_function
+
try:
import scipy
except ImportError:
- print "Please install SciPy to run this script (http://www.scipy.org/)"
- raise SystemExit, 1
+ print("Please install SciPy to run this script (http://www.scipy.org/)")
+ raise SystemExit(1)
from argparse import ArgumentParser
from gnuradio.plot_data import plot_data