On 2005-12-24, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >>>> f.read(size) > 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: size =1024 data = f.read(size) or, equivalently 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 ? Yes: comp.lang.pythong -- Grant Edwards grante Yow! My Aunt MAUREEN was at a military advisor to IKE & visi.com TINA TURNER!! -- http://mail.python.org/mailman/listinfo/python-list