def copy_strip():
 src = join(abspath(dirname(dirname(dirname(__file__)))), 'Doc', 'build', 'html', 'library', 'idle.html')
 dst = join(abspath(dirname(__file__)), 'help.html')
 with open(src, 'rb') as inn:
  with open(dst, 'wb') as out:
   for line in inn:
    out.write((line.rstrip() + '\n'))
 print 'idle.html copied to help.html'

def copy_strip ( ) : src = join ( abspath ( dirname ( dirname ( dirname ( __file__ ) ) ) ) , 'Doc' , 'build' , 'html' , 'library' , 'idle.html' ) dst = join ( abspath ( dirname ( __file__ ) ) , 'help.html' ) with open ( src , 'rb' ) as inn : with open ( dst , 'wb' ) as out : for line in inn : out . write ( ( line . rstrip ( ) + '\n' ) ) print 'idle.html copied to help.html'
copy idle .