I'm having an issue with the following code:
name = "epubtxt\ursita.txt"
And I want to remove the directory, to get output ursita.txt
I am doing this:
name.lstrip('epubtxt\\')
The main problem is that I get this output:
rsita.txt
What is going wrong here?