Files
LPP/scripts/iview.py
ckloss 80592c0da1 Committer: ckloss <ckloss@fluid38.(none)>
On branch master
 Initial commit for lpp, version 2011-10-11
2012-02-03 14:10:31 +01:00

21 lines
564 B
Python

#!/usr/bin/python
# Script: iview.py
# Purpose: launch animate tool on series of image files
# Syntax: iview.py files ...
# files = one or more image files
# Example: iview.py image*png
# Author: Steve Plimpton (Sandia)
# enable script to run from Python directly w/out Pizza.py
import sys
from animate import animate
if not globals().has_key("argv"): argv = sys.argv
# main script
# this could be done with one-line alias in shell start-up file
if len(argv) < 2: raise StandardError, "Syntax: iview.py files ..."
a = animate(' '.join(argv[1:]))