On Sep 23, 2010, at 1:22 PM, Andrew Z. wrote:
> Is there a way to parse RealPlayer's realplayerrc in Python? I need
> to support Python 2.5 - 2.7
>
> Example code
>
> import urllib2
> import ConfigParser
> f = urllib2.urlopen('http://pastebin.com/download.php?i=N1AcUg3w')
> config = ConfigPars
Is there a way to parse RealPlayer's realplayerrc in Python? I need
to support Python 2.5 - 2.7
Example code
import urllib2
import ConfigParser
f = urllib2.urlopen('http://pastebin.com/download.php?i=N1AcUg3w')
config = ConfigParser.RawConfigParser()
config.readfp(f)
Error
Traceback (most rece