file:///home/ashu/Music/Collections/randomPicks/ipod%20on%20sep%2009/Coldplay-Sparks.mp3
How can I convert
This is called unquote. Avaiable from urllib.
import urllib urllib.unquote('%20')
Have a look at url2pathname:
import urllib2 path = urllib2.url2pathname("file:///home/ashu/Music/Collections/randomPicks/ipod%20on%20sep%2009/Coldplay-Sparks.mp3")