<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>dobre, diky </FONT></DIV>
<DIV><FONT face=Arial size=2>a jeste dotaz... kdyz chci vypsat treba treti
sloupec z tech radku, tak to udelam takto:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>for radek in f.readlines():</FONT></DIV>
<DIV><FONT face=Arial size=2> name =
radek.split()[2]<BR> print name</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vypise mi to vsechny ty treti pozice v tech
radcich, ale na konci to hodi chybu:</FONT></DIV>
<DIV><FONT color=#ff8000 size=2></FONT> </DIV>
<DIV><FONT color=#ff8000 size=2>Traceback (most recent call last):</FONT></DIV>
<DIV><FONT color=#ff8000 size=2>File "<string>", line 1, in ?</FONT></DIV>
<DIV><FONT color=#ff8000 size=2>File "C:\Program Files\GNU\WinCvs
2.0\PythonLib\cvsgui\MacroRegistry.py", line 209, in DoCmdm.Run()</FONT></DIV>
<DIV><FONT color=#ff8000 size=2>File "C:\Program Files\GNU\WinCvs
2.0\Macros\3.Modules.py", line 37, in Run</FONT></DIV>
<DIV><FONT color=#ff8000 size=2>name = radek.split()[2]</FONT></DIV>
<DIV><FONT color=#ff8000 size=2>IndexError: list index out of range</FONT></DIV>
<DIV><FONT color=#ff8000 size=2></FONT> </DIV>
<DIV><FONT color=#ff8000 size=2><FONT face=Arial
color=#000000>Martin</FONT></DIV></FONT></BODY></HTML>