python del free memory code example
Example: python clear memory
a = 10
print a
del a
print a ## throws an error here because it's been deleted already.
a = 10
print a
del a
print a ## throws an error here because it's been deleted already.