Empty list in Python

To empty list,
list = range(10)
del list[:]
honestly I do not fully understand how it works, but it works.

Comments

Popular posts from this blog

Calling OpenCV functions via Cython from Python 3.X.

Android's VideoView doesn't always stretch video.

How to update lookup fileld of Kintone using pykintone