import _dictdraw, sys

d = {}
surface = _dictdraw.draw_dictionary(d, [4])
surface.write_to_png(sys.argv[1])

[(4, '_dictdraw.draw_dictionary', '_dictdraw.draw_dictionary', False, 'import _dictdraw, sys\n')]