Linux > python > file-I/O ?
grante at visi.com
Sat Dec 24 18:07:52 CET 2005
On 2005-12-24, news at absamail.co.za <news at absamail.co.za> wrote:
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> NameError: name 'size' is not defined <-- ?? Obj-method unknown ??
> What's wrong ?
You haven't defined anything named "size".
Assuming you want to read 1024 bytes, try:
data = f.read(size)
data = f.read(1024)
> I read: "The set of such modules is a configuration
> option which also depends on the underlying platform."
OK. Do you have a question regarding that sentence?
> My documenation refers also to Mac & Win installations.
You are correct.
> Is there a linux > python NewsGroup ?
Grant Edwards grante Yow! My Aunt MAUREEN was
at a military advisor to IKE &
visi.com TINA TURNER!!
More information about the Python-list