Estimating the size of an iso based on a directory tree in python

Colin Walters walters at redhat.com
Wed Nov 28 17:30:21 UTC 2007


On Wed, 2007-11-28 at 19:02 +0200, Andy Shevchenko wrote:

> guess_size_in_blks = ... os.popen("genisoimage ...")

[Random python bits]

Use subprocess instead to avoid going through /bin/sh which is almost
never desirable:

http://docs.python.org/lib/node539.html





More information about the fedora-devel-list mailing list