Here is the best way to check if a list is empty in Python:
a = [] if not a: print "List is empty"
Name (required)
Mail (will not be published) (required)
Website
Powered by WP Hashcash