text file

Wojtek Walczak gminick at hacker.pl
Sun Dec 15 16:27:21 EST 2002


Dnia Sun, 15 Dec 2002 15:14:28 -0500, C. Dunlap napisał(a):
> I want to be able to randomly pull four lines of text out of a file and 
> write those four lines to another file.
Take a look at linecache module:
<http://www.python.org/doc/current/lib/module-linecache.html>

-- 
[ ] gminick (at) underground.org.pl  http://gminick.linuxsecurity.pl/ [ ]
[ "Po prostu lubie poranna samotnosc, bo wtedy kawa smakuje najlepiej." ]



More information about the Python-list mailing list