If you use pyperl: p=pyperl.Pyperl() p.INPUT_RECORD_SEPARATOR='' myfile=p.open("< $filename") lines=myfile.readlines() Opinderjit Singh Bhella <bhella at ce.mediaone.net> writes: > How can I do this Perl paragraph mode in Python? > $/ = ''; # paragraph mode > > Thanks. > -- Harry George hgg9140 at seanet.com