Help! Identical code doesn't work in Wing IDE but does in Komodo.
John Machin
sjmachin at lexicon.net
Thu Apr 20 07:24:01 EDT 2006
On 20/04/2006 5:54 PM, fyleow wrote:
> I create a new Python file with the following using Wing IDE.
>
> import feedparser
> d = feedparser.parse("http://feedparser.org/docs/examples/atom10.xml")
> print d.feed.title
>
> I get this error when I debug.
>
[snip]
>
> With the exact same line of code in Komodo I get the correct output
> which is "Sample Feed"
Two IDEs? Sounds like IDEitis to me. Presuming that you have a
command-line interpreter supplied with your OS: fire it up, type in
"python", type those 3 lines in, see what happens ... I'm betting that
Serge's supposition is correct.
More information about the Python-list
mailing list