Re: can you improve this text-only beginner copy program?

[email protected] (Stefan Ram)
Newsgroups gmane.comp.python.general
Organization Stefan Ram
Message-ID <[email protected]>
Ethan Carter <[email protected]> wrote or quoted:
>Can you think of anything I'm missing?

  The correctness of a program as a solution to an assignment
  depends on the exact wording of the assignment, so it's a
  bit difficult to say without seeing it. 

>  """Copies text file named S to text file named D."""

  This is not entirely clear, since case is significant in Python
  ("S" is not the same as "s"), and it is ambiguous whether it refers
  to a file actually named "S" or to a file whose name is provided as
  a str object bound to the name "s" in the function's source code.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.