View

reemplazar, cortar, y convertir de lista a cadena en una sola linea

  1. #form.cleaned_data[‘videoPath’] = C:Apacheuploadsvideosvideo_test.flv
  2. path = form.cleaned_data[‘videoPath’].replace(\”,”/“)
  3.             vName = ”.join(path.split(“/“)[-1:])
  4. #result = ‘video_test.flv’

You may also like