[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.image.save(...)



On Wed, Apr 28, 2010 at 5:26 AM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> Huh, well I found a way to monitor RAM in Python.  Memory usage is not
> spiking up.
>
> I found the problem though!  The screenshot code was trying to open all the
> previous paths (so it wouldn't overwrite any).  When I keep track of it via
> a variable, it works much better, because it doesn't have to try to open
> several hundred files every time it tries to save.  Oh well, user error.
>
> Thanks!
> Ian
>

hehe.

A place I worked at in the 90's would call an 'user error' an UBD error ;)

Luckily no one ever asked them to explain what this UBD error was.
Perhaps they wouldn't like to find out it stood for User Brain Dead.

Definitely not a UBD error in this case though.