code: def symlink(target, link, target_is_directory=False):
  	
  	target_is_directory = (
  		target_is_directory or
  		_is_target_a_directory(link, target)
  	)
  	# normalize the target (MS symlinks don't respect forward slashes)
  	target = os.path.normpath(target)
  	handle_nonzero_success(
  		api.CreateSymbolicLink(link, target, target_is_directory))
docs: An implementation of os.symlink for Windows (Vista and greater)