On Jan 15, 2008, at 3:39 PM, Jeff Johnson wrote:
> Thank Ed. But it IS a file object so I can pass it to:
>
> cp = ConfigParser.ConfigParser()
> cp.readfp(f)
>
> Right? It appears to work fine.
If you open it for write, it should be a zero-byte file. You would
normally open the file for read (i.e., no parameter) before passing
it to something that needs to read it.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]