how to include lots of media assets into a python rpm?

Erik Blankinship jedierikb at gmail.com
Tue Jan 25 02:33:26 UTC 2011


On Mon, Jan 24, 2011 at 9:14 PM, Ignacio Vazquez-Abrams <
ivazqueznet at gmail.com> wrote:

> On Mon, 2011-01-24 at 21:02 -0500, Erik Blankinship wrote:
> > Unfortunately, there does not appear to be a way to include *.png for
> > all subdirectories in gfx.
>
> You might find os.walk() or glob.glob() useful here.
>
>
Thank you for introducing me to glob.  Problem solved.  That's a great
function!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/python-devel/attachments/20110124/78153162/attachment.html 


More information about the python-devel mailing list