0

I found this code, but can't find the needed module:

# display the info of a list, dictionary and tuple
# needs apihelper.py
from apihelper import info
# create a list (or other container)
li = []
# now display the available inormation
print info(li)
print "-------------------------------------------"
# create a dictionary
di = {}
# display information on the dictionary (key:value list/map)
print info(di)
print "-------------------------------------------"
# create a tuple
tup = ()
# display information on the tuple (list that connot be changed)
print info(tup)

Where can I find this module?

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by mawe
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.