¡@

Home 

python Programming Glossary: the_string

Python: How do I pass a variable by reference?

http://stackoverflow.com/questions/986006/python-how-do-i-pass-a-variable-by-reference

to change the reference def try_to_change_string_reference the_string print 'got' the_string the_string 'In a kingdom by the sea'.. def try_to_change_string_reference the_string print 'got' the_string the_string 'In a kingdom by the sea' print 'set to' the_string.. the_string print 'got' the_string the_string 'In a kingdom by the sea' print 'set to' the_string outer_string..