Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python string replace variable

var = '{foo} {foo} {foo}'.format(foo = 'python you so crazy')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #string #replace #variable
ADD COMMENT
Topic
Name
9+5 =