regex matching question

bullockbefriending bard kinch1967 at gmail.com
Sat May 19 22:46:34 EDT 2007


>
> No way? Famous last words :-)
>
> C:\junk>type showargs.py
> import sys; print sys.argv
>
> C:\junk>\python25\python
> Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
> (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import subprocess
>  >>> subprocess.call('\\python25\\python showargs.py teehee\n')
> ['showargs.py', 'teehee\n']

can't argue with that :) back to \Z




More information about the Python-list mailing list