Q:

Python - What is the fastest way i can copy files from a source folder to multiple destinations

source = /tmp/src
contains a,b,c,d files
destinations = '/one' , '/two'
so i want to copy files a,b,c,d to both destinations '/one' and 'two'
something like 
source = '/tmp/src'
destinations = []

def copy_files_multiple_dest(source,destinations)

right ?
now, how would i loop through all the destinations

A:

how about something like:
import os
import shutil

source = '/tmp/src/'
destinations = []

def copy_files_multiple_dest(source,destinations):
  sfiles = os.listdir(source) # list of all files in source
  for f in sfiles:
    for dest in destinations:
      shutil.copy(os.path.join(source,f), dest)

i'm not sure it's the fastest but it should do the job.

