[Tutor] copy/paste/move files

Michael C mysecretrobotfactory at gmail.com
Wed May 17 19:17:20 EDT 2017


Ok!

On Wed, May 17, 2017 at 4:11 PM, Alan Gauld via Tutor <tutor at python.org>
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 or move it.
>
> The shutil module provides easy functions for both.
> See the documentation for the module.
>
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.amazon.com/author/alan_gauld
> Follow my photo-blog on Flickr at:
> http://www.flickr.com/photos/alangauldphotos
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list