Mercurial > repos > xuebing > sharplabtool
diff tools/data_source/echo.py @ 0:9071e359b9a3
Uploaded
author | xuebing |
---|---|
date | Fri, 09 Mar 2012 19:37:19 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/data_source/echo.py Fri Mar 09 19:37:19 2012 -0500 @@ -0,0 +1,14 @@ +#!/usr/bin/env python + +""" +Script that just echos the command line. +""" + +import sys + +assert sys.version_info[:2] >= ( 2, 4 ) + +print '-' * 20, "<br>" +for elem in sys.argv: + print elem, "<br>" +print '-' * 20, "<br>" \ No newline at end of file