Using format built-in in Python2.7+
Simple example: print ("Stuff: {0}".format(str))
More information:
https://mkaz.com/2012/10/10/python-string-format/
More information:
https://mkaz.com/2012/10/10/python-string-format/
Random technical flotsam that are stored here so I don't have to remember.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home