parameters: (src, dst, mkdirs=0)
docstring: Copy a file or a directory.
docstring_summary: Copy a file or a directory.
docstring_tokens: Copy a file or a directory .
function: def symlink(src, dst, mkdirs=0):
      """Copy a file or a directory."""
      if not os.path.exists(src):
          raise IOError, "No such file or directory: '%s'" % src
      if mkdirs:
          makedirs(os.path.dirname(dst))
      os.symlink(os.path.abspath(src), dst)
function_tokens: def symlink ( src , dst , mkdirs = 0 ) : if not os . path . exists ( src ) : raise IOError , "No such file or directory: '%s'" % src if mkdirs : makedirs ( os . path . dirname ( dst ) ) os . symlink ( os . path . abspath ( src ) , dst )