I don't have an answer, but my favourite method is:
[x for x in dir(object) if not x.startswith('_')]for viewing all the useful methods. HTH, Take care, Chris Norman [email protected] > On 12 Nov 2015, at 05:25, Benjamin Martin <[email protected]> wrote: > > I have an application where I have to iterate through a couple hundred > thousand files, processing the data in each one. For obvious reasons I am > getting "OSError: Too many open files" so I need to be able to close those > files. Unfortunately pyglet doesn't seem to have any such functionality > documented. Is this simply because this functionality doesn't exist, or > simply because I can't find it? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "pyglet-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/pyglet-users > <http://groups.google.com/group/pyglet-users>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
