#!/usr/bin/env python #file: commandLine.py #http://www.faqs.org/docs/diveintopython/kgp_commandline.html #http://www.penzilla.net/tutorials/python/cmdlineargs/ #http://muharem.wordpress.com/2006/11/26/declarative-parsing-of-command-line-arguments-in-python/ #http://www.linuxjournal.com/articles/lj/0073/3946/3946l1.html def myCLA1(): import sys print sys.argv def myCLA2(): import sys for arg in sys.argv: print arg myCLA1() myCLA2()