Thanks for your share^
a=r"D:\Desktop\py\1.avi" #another way to fix the warning
a=r"D:\Desktop\py\1.avi".replace('\\','/') #this may be better