os.system limitations on Windows NT

Tim Roberts timr at probo.com
Sun Oct 29 06:11:34 CET 2000


"Markus Kohler" <kohler at medien.tecmath.de> wrote:
>
>Thanks for your hints
>Actually there were two problems.
>
>First I used "cl" instead of "link", because I passed the wrong variable
>to a function. It seems that cl automatically invoked link, but that It
>truncated the arguments (silly Windows behaviour probably).

No, it didn't...

>The other problem was that I had a  "f.close" instead of "f.close()".

That's your real problem: your file was truncated because the last part was
still in the in-memory buffer.
--
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list