Bash-like brace expansion

Peter Waller peter.waller at
Tue Mar 24 13:54:33 CET 2009

What one really wants is a re option capable of handling recursive
structures, something along the lines of what PHP has:

Under the 'Recursive Patterns' heading. As far as I am aware, no such thing
exists for Python (yet?).

2009/3/24 Peter Waller <peter.waller at>
> Could this approach be made to handle recursive expansion? From the example
> with the script:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list