[Tutor] Nested list comprehensions

Kent Johnson kent37 at tds.net
Mon May 15 12:09:18 CEST 2006


John Fouhy wrote:
> Hmm, do you know an easy way to check how much memory python is using?
>  My HDD was swapping like crazy by the end of that..

Use Windows Task Manager or top for a rough estimate...or try one of these:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286222
http://www.softwareverify.com/pythonMemoryValidator/index.html (website 
down at the moment)

Kent



More information about the Tutor mailing list