How to split with "\" character, and licence copyleft mirror of ©
materile11 at gmail.com
materile11 at gmail.com
Sun Sep 1 20:03:40 EDT 2013
Hello everybody
I'm trying to run this:
<code>
>>> a = 'E:\Dropbox\jjfsdjjsdklfj\sdfjksdfkjslkj\flute.wav'
>>> a.split('\')
SyntaxError: EOL while scanning string literal
</code>
I think that the character '\' is the problem, but unfortunately I'm developing a small app for windows and I need to show only the name of the .wav file, in this case 'flute.wav'.
I also want to know how to mirror a character, in my case this one ©, because I'll use the Copyleft http://en.wikipedia.org/wiki/Copyleft to distribute my app.
Thanks.
More information about the Python-list
mailing list