[Tutor] Copying one text file into another

dn PyTutor at DancesWithMice.info
Tue Aug 3 18:55:27 EDT 2021


On 04/08/2021 06.55, Ed Connell wrote:
> Suppose you have two text files, A.txt and B.txt.  You want to copy A into
> B at some designated place .Of course there is copy and paste, but I got
> interested in how you could do this with Python. Can you help?

Ed,

Is this an homework assignment?

What code do you have already? Show us what you have written (and any
errors-reported) and we will be able help you...

Meantime:
https://duckduckgo.com/?q=python+copy+files&t=brave&atb=v269-1&ia=web
-- 
Regards,
=dn


More information about the Tutor mailing list