Le jeudi 05 octobre 2006 13:16, Ivan Voras a écrit :
> print "'"+var1+"','"+var2'"+","+var3
>> the above is much more readable as
>> print "'%s', '%s', %s" % (var1, var2, var3)
It feels not IMO, one proof I see is that you forgot the spaces after periods
in your first example, and it's even not easy to figure it out...
In fact this is a typical case I replace the first by the second, when the
string comes a little complex.
--
_____________
Maric Michaud
_____________
Aristote - www.aristote.info
3 place des tapis
69004 Lyon
Tel: +33 426 880 097