def recurse(d):
if type(d)==type({}):
for k in d:
recurse(d[k])
else:
print d
More Related Contents:
- how to get the time after two minutes [closed]
- Combine two columns of text in pandas dataframe
- About the changing id of an immutable string
- Python Ctypes – loading dll throws OSError: [WinError 193] %1 is not a valid Win32 application
- Loop backwards using indices in Python?
- Creating a list of dictionaries results in a list of copies of the same dictionary
- Why do some functions have underscores “__” before and after the function name?
- On localhost, how do I pick a free port number?
- Plotting a fast Fourier transform in Python
- Popen with conflicting executable/path
- Why is the Borg pattern better than the Singleton pattern in Python
- How to write to stdout AND to log file simultaneously with Popen?
- custom matplotlib plot : chess board like table with colored cells
- How do you plot a vertical line on a time series plot in Pandas?
- Import python package from local directory into interpreter
- Pandas reset index on series to remove multiindex
- pip/easy_install failure: failed to create process
- How to convert a Date string to a DateTime object?
- Step-by-step debugging with IPython
- Python – calendar.timegm() vs. time.mktime()
- What’s the best way to format a phone number in Python?
- Running maximum of numpy array values
- Using Windows 7 taskbar features in PyQt
- Hypergraph with networkx
- Is it ok to skip “return None”?
- Multiple Unpacking Assignment in Python when you don’t know the sequence length
- How can I capture the stdout output of a child process?
- post request using python to asp.net page
- Comparing 2 lists consisting of dictionaries with unique keys in python
- How to run Debug server for Django project in PyCharm Community Edition?