Re: [BangPypers] file handling

2010-06-14 Thread Sridhar Ratnakumar
On Mon, Jun 14, 2010 at 2:48 AM, Supreet Sethi wrote: > On Mon, 2010-06-14 at 11:48 +0530, madhuri vio wrote: >> a = open("human","rb") >> print a.readlines() >> >> this is the code i have >> written to read a text file but i am unable to .. >> i get a very weird output... >> "PK\x03\x04\x14\x00\x

Re: [BangPypers] file handling

2010-06-14 Thread Supreet Sethi
On Mon, 2010-06-14 at 11:48 +0530, madhuri vio wrote: > a = open("human","rb") > print a.readlines() > > > > this is the code i have > written to read a text file but i am unable to .. > i get a very weird output... > "PK\x03\x04\x14\x00\x00\x00\x00\x00\xd6+\xce<^\xc62\x0c'\x00\x00\x00'\x00\x00

Re: [BangPypers] file handling

2010-06-13 Thread Anand Balachandran Pillai
On Mon, Jun 14, 2010 at 11:48 AM, madhuri vio wrote: > a = open("human","rb") > print a.readlines() > > > > this is the code i have > written to read a text file but i am unable to .. > i get a very weird output... > > "PK\x03\x04\x14\x00\x00\x00\x00\x00\xd6+\xce<^\xc62\x0c'\x00\x00\x00'\x00\x00\