Re: [Tutor] copy/paste/move files

2017-05-17 Thread Michael C
Ok! On Wed, May 17, 2017 at 4:11 PM, Alan Gauld via Tutor wrote: > On 17/05/17 20:09, Michael C wrote: > > > How do I move files to a designated folder or copy/paste? > > copy/paste is a UI specific thing, you don't do that in Python code. > What you do is either copy a file

Re: [Tutor] copy/paste/move files

2017-05-17 Thread Alex Kleider
On 2017-05-17 12:09, Michael C wrote: Hi all, How do I move files to a designated folder or copy/paste? The first hit when I googled "how to move a file using python" was http://stackoverflow.com/questions/8858008/how-to-move-a-file-in-python which in turn suggests the use of: os.rename() or

Re: [Tutor] copy/paste/move files

2017-05-17 Thread Alan Gauld via Tutor
On 17/05/17 20:09, Michael C wrote: > How do I move files to a designated folder or copy/paste? copy/paste is a UI specific thing, you don't do that in Python code. What you do is either copy a file or move it. The shutil module provides easy functions for both. See the documentation for the

[Tutor] copy/paste/move files

2017-05-17 Thread Michael C
Hi all, How do I move files to a designated folder or copy/paste? thanks! ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor