[Tutor] help writing functions

Andreas Perstinger andipersti at gmail.com
Thu Feb 23 07:16:41 CET 2012


On 2012-02-23 01:59, Saad Javed wrote:
> I am learning python and need guidance for writing some code. I've written
> a simple program (with pointers from people) that parses an tv show xml
> feed and prints their values in plain text after performing some string
> operations.
>
> [CODE]feed = urllib.urlopen(rssPage) #rssPage: address of xml feed
   ^^^^^^

[snip]

> Running this code returns [B]None[/B].
                             ^^^^^^^^^^^

This is not a web forum, so please post only in plain text.

Bye, Andreas


More information about the Tutor mailing list