© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Victoria A. Davis
Designing future webapps
Jacob Oscarson
Doing Python etc at glooko.com, built Juntoo (https://juntoo.co)
A cool thing I found that you can with .format is to prepare a string for later expansion:
prepared = 'Hello {}'.format prepared('world') 'Hello world'
prepared = 'Hello {}'.format
prepared('world')
'Hello world'
If you want to do that using %, I suppose you would need at least a lambda.
Jacob Oscarson
Doing Python etc at glooko.com, built Juntoo (https://juntoo.co)
A cool thing I found that you can with .format is to prepare a string for later expansion:
If you want to do that using %, I suppose you would need at least a lambda.