Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Python: How to reference dictionary in print function

Python: How to reference dictionary in print function
{filelink=16023}

dict={"num":1, "val":"symponium"}
print "%(num)d %(val)s" % dict

Users who found this page were searching for:

  • JSLIDER SHAPE CHANGE

No comments yet.

Leave a Comment