import _dictdraw, sys d = {'ftp': 21, 'ssh': 22, 'smtp': 25} surface = _dictdraw.draw_dictionary(d, [4]) surface.write_to_png(sys.argv[1])
import _dictdraw, sys d = {'arya': 666, 'john': 858, 'snow':1, 'alive': 2, 'dead':3} del d["snow"] surface = _dictdraw.draw_dictionary(d, [6, 5, 0]) surface.write_to_png(sys.argv[1])
import _dictdraw, sys d = {3: 1, 3 + 8: 2, 3 + 16: 3, 3 + 24: 4, 3 + 32: 5} surface = _dictdraw.draw_dictionary(d, [3, 1, 6, 7]) surface.write_to_png(sys.argv[1])
import _dictdraw, sys d = {'smtp': 21, 'dict': 2628, 'svn': 3690, 'ircd': 6667, 'zope': 9673} surface = _dictdraw.draw_dictionary(d, [4, 1, 0, 5]) surface.write_to_png(sys.argv[1])
import _dictdraw, sys d = {3: 1, 3+8: 2, 3+16: 3, 3+24: 4, 3+32: 5} surface = _dictdraw.draw_dictionary(d, [3, 1, 6, 7]) surface.write_to_png(sys.argv[1])
import _dictdraw, sys d = {'smtp': 21, 'dict': 2628, 'svn': 3690, 'ircd': 6667, 'zope': 9673} del d['smtp'] surface = _dictdraw.draw_dictionary(d, [0, 1, 4, 6]) surface.write_to_png(sys.argv[1])
import _dictdraw, sys d = {'arya': 666, 'john': 858, 'snow': 1, 'alive': 2, 'dead': 3} surface = _dictdraw.draw_dictionary(d, [0, 1, 6, 4]) surface.write_to_png(sys.argv[1])
import _dictdraw, sys d = {'arya': 666, 'john': 858, 'snow': 1, 'alive': 2, 'dead': 3} del d["snow"] surface = _dictdraw.draw_dictionary(d, None) surface.write_to_png(sys.argv[1])