Backticks: What up?

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Wed Apr 28 19:43:52 EDT 2004


Steven Brent wrote:

> Thanks! I didn't know you could use printf type syntax with return....

String formatting can be used anywhere that an expression can. There is
nothing special about `return` in Python - it just returns the result of
an expression.

In the Python library reference ...

2.3.6.2 String Formatting Operations

will tell you everything you need to know about them.

Tim Delaney




More information about the Python-list mailing list