str = 'ali maryam reza fatemeh'
l = str.split(' ')
print(l)
print('/'.join(l))
url = 'F:\\Libraries\\Pictures\\ARS\\Eagle'
l = url.split('\\')
print(l)
l2 = '/'.join(l)
print(l2)
print('/'.join(url.split('\\')))