File read problem in Windows

news ld at nospam.com
Mon Jul 1 20:11:17 EDT 2002


f = open('myfile,'r')
a = f.read(3072)

When I do a len(a) I only get 634 bytes.  It doesn't seem to want to grab
the full 3072.  This ONLY happens in windows...when I run my program in
Linux I get the full 3072 and everything works fine!

Any ideas?

Thnx...Larry





More information about the Python-list mailing list