string interpolation for python

Yingjie Lan lanyjie at yahoo.com
Mon Apr 2 05:17:21 EDT 2012


> Actually, this sounds like a job for a precompiler/preprocessor. Do

> whatever translations you want on your code, then turn it into a .py
> file for execution. But hardly necessary, as there are already two -
> err, three, I stand corrected - perfectly good ways to do it.


Agree and disagree. 

The other ways are not perfectly good.
They stinks in Python. 
This new way is the most natural way.
Effortless, natural. That's my Python.

Cheers,
Yingjie




More information about the Python-list mailing list