C shouldn't be very hard. You just get the url of the file you want to connect to, then just use the normal connect sequence and read the file and print it out to the UNIX shell, then at the unix shell, just pipe it to an MP3. Or you could just do it with FILE *. On Sat, Sep 12, 2009 at 4:37 PM, Chuck <galois...@gmail.com> wrote:
> On Sep 11, 9:54 pm, Chris Rebert <c...@rebertia.com> wrote: > > On Fri, Sep 11, 2009 at 7:43 PM, Chuck <galois...@gmail.com> wrote: > > > Does anyone know how I should read/download the mp3 file, and how I > > > should write/save it so that I can play it on a media player such as > > > Windoze media player? Excuse my ignorance, but I am a complete noob > > > at this. I downloaded the mp3, and I got a ton of hex, I think, but > > > it could've been unicode. > > > > urllib.urlretrieve(): > http://docs.python.org/library/urllib.html#urllib.urlretrieve > > > > Cheers, > > Chris > > Thanks Chris! I will play around with this. > -- > http://mail.python.org/mailman/listinfo/python-list >
-- http://mail.python.org/mailman/listinfo/python-list