On 11/12/05, Liam Clarke <[EMAIL PROTECTED]> wrote:
> Sorry Shi Mu, don't understand the question.
>
> So, you're successfull opening a file. Now, you need to read it
>
> for line in fsock:
>    print line
>
> or
>
> fsockData = fsock.read()
>
> or
>
> nextLine = fsock.readline()
>
> Have a play with those.
it works! thanks!
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to