[Beginner] delete items of [] also from memory

Birgit Rahm br_y at yahoo.de
Mon Nov 22 02:37:27 EST 2004


Hello newsgroup,

I am a beginner, so I am asking maybe immoderate questions.
I want to delete a [] variable, after filling it with complex objects. How
should I do it?
e.g.
AAA = []
AAA = [B, C, D, E, F]
Can I
1) AAA = []
2) del AAA[0:]
3) ?
whats about the computers memory, will it get free? Or will it get more and
more while Python is running?


--

Mit freundlichen Grüßen / best regards
Birgit Rahm





More information about the Python-list mailing list