Hi,

Can someone please explain what happens here:

In testfile.py:

x = 5
def arbFunc():
    print x
    del x
    print "Done with Test"
arbFunc()

Then run the file with python testfile.py

As opposed to
x = 5
print x
del x
print "Done with Test"

Which of course works fine. This question is of importance to me,
because I may may very large arrays that strain the limits of the
machine's memory and I need to clean up after myself when I generate
other large objects temporarily.


Thanks in advance!
Frank
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to