Thanks, Tim that did work. I will proceed with my playing around now.

Thanks a ton.

Atul.
>
> Only slightly. You're importing the codecs module
> but you're not using it. So you're *actually* using
> the built-in open function, which doesn't have an
> encoding parameter. It does have a third param
> which is to do with the buffer size.
>
> Just change your code to use codecs.open ("...")
> and, I suggest, either use raw strings for your
> filename (r"c:\docume...") or use the other kind
> of slash ("c:/documen..."). Otherwise you might
> run into some problems.
>
> TJG

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to