Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

wickman/rformat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rformat is a recursive version of str.format

for example:

import rformat

lastnames = {
  'john': 'smith',
  'jane': 'doe',
}

print(rformat.format('hello {name} {lastnames[{name}]}', name='john', lastnames=lastnames))
hello john smith

About

rformat is a recursive version of python's str.format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages