JavaScript seems to be disabled in your browser. You must have JavaScript enabled in your browser to utilize the functionality of this website.
s = r'canada\japan\australia' l = s.split('\\') print(l)
['canada', 'japan', 'australia']