On Tue, 18 Aug 2009 13:05:03 +, Sleepy Cabbage wrote:
> Thanks for the time you've spent anyway Peter. I have superkaramba
> installed and the rest of the script is running fine, it's only when I
> put the urlopen part in that it comes back with errors. The quotes are
> just to make it readabl
Thanks for the time you've spent anyway Peter. I have superkaramba
installed and the rest of the script is running fine, it's only when I
put the urlopen part in that it comes back with errors. The quotes are
just to make it readable on here as my first attempt at posting muted the
text.
--
h
Sleepy Cabbage wrote:
> This is the script up to where the error seems to fall:
>
> "#!/usr/bin/env superkaramba"
> "# -*- coding: iso-8859-1 -*-"
>
> "import karamba"
> "import subprocess"
> "from subprocess import Popen, PIPE, STDOUT, call"
> "import urllib"
> "from urllib import urlopen"
>
>
On Tue, 18 Aug 2009 13:21:59 +0200, Peter Otten wrote:
> Sleepy Cabbage wrote:
>
>> I'm scripting a superkaramba theme using python and have intgrated
>> output from amarok. I have also would like to show the artist and song
>> title from a radio stream i've added to my playlist.
>>
>> If I open
Sleepy Cabbage wrote:
> I'm scripting a superkaramba theme using python and have intgrated output
> from amarok. I have also would like to show the artist and song title from
> a radio stream i've added to my playlist.
>
> If I open a python console and add the following:
>
> ">>>import urllib2"
I'm scripting a superkaramba theme using python and have intgrated output
from amarok. I have also would like to show the artist and song title from
a radio stream i've added to my playlist.
If I open a python console and add the following:
">>>import urllib2"
">>>from urllib2 import urlopen"
">
I'm scripting a superkaramba theme using python and have intgrated output
from amarok. I have also would like to show the artist and song title from
a radio stream i've added to my playlist.
If I open a python console and add the following:
>>>import urllib2
>>>from urllib2 import urlopen
>>>now