On Jun 14, 12:34 pm, Tim Pinkawa <timpink...@gmail.com> wrote: > On Sun, Jun 13, 2010 at 11:01 PM, Jason <jason.hee...@gmail.com> wrote: > The tempfile.TemporaryFile class should do the job. This part is > probably of particular interest to you:
Thanks! Since the bsddb functions require a filename (not a file object), I'm thinking that "NamedTemporaryFile" is actually what I need. Creating a TemporaryFile results in an object with the "name" attribute always "<fdopen>". But that does exactly what I need, so thanks for the tip :) — Jason -- http://mail.python.org/mailman/listinfo/python-list