Adds Python 3 shebangs to command-line scripts.

This commit is contained in:
Robert Smallshire
2015-05-14 10:04:19 +02:00
parent ce08d5b99a
commit 9f090c2381
4 changed files with 9 additions and 0 deletions
+3
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python3
"""A simple example which loads a SEG Y file and saves it again.
Usage:
@@ -5,6 +7,7 @@ Usage:
loadsave.py <in.segy> <out.segy>
"""
from __future__ import print_function
import os
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python3
"""Displays a simple report of a SEG Y file.
Usage:
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python3
"""A simple example which times reading of all traces in a SEG Y file.
Usage:
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env python3
"""Extract a timeslice from a 3D seismic volume to a Numpy array.
This utility assumes the inline and crossline numbers are evenly spaced.