def copy_tcltk(src, dest, symlink):
 for libversion in ('8.5', '8.6'):
  for libname in ('tcl', 'tk'):
   srcdir = join(src, 'tcl', (libname + libversion))
   destdir = join(dest, 'tcl', (libname + libversion))
   if (os.path.exists(srcdir) and (not os.path.exists(destdir))):
    copyfileordir(srcdir, destdir, symlink)

def copy_tcltk ( src , dest , symlink ) : for libversion in ( '8.5' , '8.6' ) : for libname in ( 'tcl' , 'tk' ) : srcdir = join ( src , 'tcl' , ( libname + libversion ) ) destdir = join ( dest , 'tcl' , ( libname + libversion ) ) if ( os . path . exists ( srcdir ) and ( not os . path . exists ( destdir ) ) ) : copyfileordir ( srcdir , destdir , symlink )
copy tcl/tk libraries on windows .