On Tue, Apr 22, 2008 at 01:39:11PM -0600, Andrew McNabb wrote:
> "cat %s" % filename
>
> then your program would break if filename contained spaces.
It'd break even worse if the filename contains ';' or any other
command-separated character (&&, ||, etc.)
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com