tup = 'spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead', ('parrot',
    ('fresh fruit',)))))))
pp = pprint.PrettyPrinter(depth=6)
pp.pprint(tup)
How to easily display top level of data structure in python