<br><font size=2 face="sans-serif">No tym som si prave neni isty, &nbsp;pretoze
na http://docs.python.org/whatsnew/2.6.html sa pise:</font>
<br><font size=3>&quot;In Python 3.0, the <i>%</i> operator is supplemented
by a more powerful string formatting method, </font><font size=3><tt>format()</tt></font><font size=3>...&quot;</font>
<br><font size=3>Takze neviem, ci bude %-operator existovat sucasne s funkciou
format().</font>
<br><font size=3>&nbsp;</font><font size=2 face="sans-serif"><br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr>
<td><img src=cid:_1_04EEC6B004EEC2C80026CBD4C12574DA>
<td width=100%>
<table width=100%>
<tr valign=top>
<td width=100%><font size=2 face="sans-serif"><b>Re: [python] python 2.6
released</b></font></table>
<br>
<table width=100%>
<tr>
<td><font size=2 color=#e26200 face="sans-serif"><b>Tomas Brabenec </b></font>
<td><font size=2 color=#929292 face="sans-serif">to:</font>
<td><font size=2 face="sans-serif">Konference PyCZ</font>
<td>
<div align=right><font size=1 face="sans-serif">06.10.2008 07:53</font></div></table>
<br>
<table width=100%>
<tr>
<td>
<table width=100%>
<tr>
<td><font size=2 color=#929292 face="sans-serif">Sent by:</font>
<td width=100%><font size=2 color=#e26200 face="sans-serif"><b>python-bounces@py.cz</b></font></table>
<br><font size=1 face="sans-serif"><b>Please respond to Konference PyCZ</b></font>
<td>
<div align=right></div></table>
<br></table>
<br>
<br>
<hr>
<br>
<br>
<br><font size=2><tt>Já teda nevim, ale mohlo by to byt preci takhle:<br>
<br>
print(&quot;&quot;&quot; spam='%s' egs='%s' &quot;&quot;&quot; % (spam,egs))<br>
<br>
Nebo se pletu ?<br>
<br>
Tomas<br>
<br>
<br>
On 4.10.2008 21:03, RMiklos@pss.sk wrote:<br>
&gt; V Pythone 2.6 by mali byt uz k dispozicii funkcie print() a format()<br>
&gt; Ak uz to mate nainstalovane a mate s tym skusenosti, ako sa urobi
v <br>
&gt; buducnosti napriklad toto?:<br>
&gt; print &quot; spam='%s' egs='%s'&quot; % (spam, eggs)<br>
&gt; Ja som to pochopil podla http://docs.python.org/whatsnew/2.6.html
tak, <br>
&gt; ze sa to bude musiet zapisovat bud cez pozicne argumenty nejako takto<br>
&gt; print (&quot; spam='{0}' egs='{1}'&quot;.format(spam, eggs))<br>
&gt; alebo, cez pomenovane argumenty asi takto<br>
&gt; print (&quot; spam='{spam}' egs='{eggs}'&quot;.format(spam=spam, eggs=eggs))<br>
&gt; Vyzera to o dost zlozitejsie ako povodny zapis :-)<br>
&gt; -----python-bounces@py.cz wrote: -----<br>
&gt;<br>
&gt; &nbsp; &nbsp; To: Konference PyCZ &lt;python@py.cz&gt;<br>
&gt; &nbsp; &nbsp; From: Pavel Kosina &lt;geon@post.cz&gt;<br>
&gt; &nbsp; &nbsp; Sent by: python-bounces@py.cz<br>
&gt; &nbsp; &nbsp; Date: 02.10.2008 18:21<br>
&gt; &nbsp; &nbsp; Subject: [python] python 2.6 released<br>
&gt;<br>
&gt; &nbsp; &nbsp; Asi jdu s křížkem po funuse, protože všechny hlavní
portály o tom již<br>
&gt; &nbsp; &nbsp; informovali: Python 2.6 je vydán.<br>
&gt; &nbsp; &nbsp; Python 2.6 je spíše takovou dočasnou přechodkou mezi
2.5 a 3.0,<br>
&gt; &nbsp; &nbsp; jak píše<br>
&gt; &nbsp; &nbsp; A.M. Kuchling:<br>
&gt;<br>
&gt; &nbsp; &nbsp; The major theme of Python 2.6 is preparing the migration
path to<br>
&gt; &nbsp; &nbsp; Python<br>
&gt; &nbsp; &nbsp; 3.0, a major redesign of the language. Whenever possible,
Python 2.6<br>
&gt; &nbsp; &nbsp; incorporates new features and syntax from 3.0 while
remaining<br>
&gt; &nbsp; &nbsp; compatible<br>
&gt; &nbsp; &nbsp; with existing code by not removing older features or
syntax. When<br>
&gt; &nbsp; &nbsp; it’s<br>
&gt; &nbsp; &nbsp; not possible to do that, Python 2.6 tries to do what
it can, adding<br>
&gt; &nbsp; &nbsp; compatibility functions in a future_builtins<br>
&gt; &nbsp; &nbsp; &lt;http://docs.python.org/library/future_builtins.html&gt;
module and a<br>
&gt; &nbsp; &nbsp; /-3/<br>
&gt; &nbsp; &nbsp; &lt;http://docs.python.org/using/cmdline.html#cmdoption-3&gt;
switch to<br>
&gt; &nbsp; &nbsp; warn<br>
&gt; &nbsp; &nbsp; about usages that will become unsupported in 3.0.<br>
&gt;<br>
&gt; &nbsp; &nbsp; http://docs.python.org/whatsnew/2.6.html<br>
&gt; &nbsp; &nbsp; http://www.python.org/download/<br>
&gt;<br>
&gt; &nbsp; &nbsp; -- <br>
&gt; &nbsp; &nbsp; geon<br>
&gt; &nbsp; &nbsp; Pavel Kosina<br>
&gt;<br>
&gt; &nbsp; &nbsp; _______________________________________________<br>
&gt; &nbsp; &nbsp; Python mailing list<br>
&gt; &nbsp; &nbsp; Python@py.cz<br>
&gt; &nbsp; &nbsp; http://www.py.cz/mailman/listinfo/python<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Python mailing list<br>
&gt; Python@py.cz<br>
&gt; http://www.py.cz/mailman/listinfo/python<br>
_______________________________________________<br>
Python mailing list<br>
Python@py.cz<br>
http://www.py.cz/mailman/listinfo/python</tt></font>
<br>