On Wed, Apr 29, 2015 at 2:08 PM, siva sankari R <buddingros...@gmail.com> wrote:
> file=open("input","r")
> line=file.seek(7)
> print line
>
> The above code is supposed to print a line but it prints "none". I don't know 
> where the mistake is. Help.!
> --
> https://mail.python.org/mailman/listinfo/python-list

What is in the file you are printing?

-- 
Joel Goldstick
http://joelgoldstick.com
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to