diff --git a/examples/loadsave.py b/examples/loadsave.py index 0b799f5..b0a3058 100644 --- a/examples/loadsave.py +++ b/examples/loadsave.py @@ -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 """ + from __future__ import print_function import os diff --git a/examples/report.py b/examples/report.py index b0554a6..208d4c7 100644 --- a/examples/report.py +++ b/examples/report.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + """Displays a simple report of a SEG Y file. Usage: diff --git a/examples/timed_reader.py b/examples/timed_reader.py index d4e78d9..9b7418d 100644 --- a/examples/timed_reader.py +++ b/examples/timed_reader.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + """A simple example which times reading of all traces in a SEG Y file. Usage: diff --git a/examples/timeslice.py b/examples/timeslice.py index b6cbd85..ee7a217 100644 --- a/examples/timeslice.py +++ b/examples/timeslice.py @@ -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.