sigh... i keep telling you guys im not a newbie, its just that i had a
question about that module... But, i understand i may sound like a noob
because i was asking for detailed questions instead of the broad ones
that you guys were giving me... but i would not like to be considered a
noob around he
Where I go to work, a quote stands etched in a very large font into the
concrete prominently to remind us to be humble.
The greatest obstacle to discovery is not ignorance - it is the
illusion of knowledge.
(Daniel J. Boorstin)
You just have to trust us on this. We are not jumping to conclusions
lol, u guys love picking on me... LOL, i didnt even realize it was
creating a list, i know, dumb but true...
--
http://mail.python.org/mailman/listinfo/python-list
> i know much about python and i dont excactly need help
> learning the basics of python because i know it, once again, its the
> module i need help with...
No, you _really_ don't.
If you were python-capable, you would have been able to extrapolate
from the example I gave above to answer your own
BTW, i finished this tutorial long ago...
http://www.ibiblio.org/obp/thinkCSpy/
--
http://mail.python.org/mailman/listinfo/python-list
i knew someone would snap on me... lol. Its not that i dibt ubderstand
all of python, its just that i dont understand this specific module
since i couldnt find any good tutorials on this specific module. its
not the whole programming part, its just the module. I made my program
jsut how i wanted it
i knew someone would snap on me... lol. Its not that i dibt ubderstand
all of python, its just that i dont understand this specific module
since i couldnt find any good tutorials on this specific module. its
not the whole programming part, its just the module. I made my program
jsut how i wanted it
Jay,
You are practically asking the community to write your 4 line program
for you. Read Alex's post (first one in this thread, 2nd and 3rd
paragraphs) slowly and carefully again. If you understand the absolute
basics of Python, you would not be asking this question, nor the
previous one. You are
that like displays all the items, i want to just get one two three and
such. Can't i get just the first three and i also want them to display
individually such as title1 = just the title of item 1 and descp =
would be the descrp of item one, and so one... I dont need a list of
all titles... Is ther
Jay wrote:
> [T]here are multiple items in channel, how do i tell it to
> go to the next item and get that title??
channel = rssDigg.find('//channel')
for item in channel.findall('item'):
print item.find('title').text
-alex23
--
http://mail.python.org/mailman/listinfo/python-list
really quick question, if you look at the XML doc of digg.com then you
will see that there are multiple items in channel, how do i tell it to
go to the next item and get that title??
title2 = rssDigg.find("//channel/item//title").text Didnt work
title2 = rssDigg.find("//channel/item[1]/title"
OK! The story so far ...
You wanted to parse an RSS feed and wanted a simple library. You tried
Amara. The binary installer had a problem. Not sure what was the issue
with installing the source via distutils.
Since you have way too many options to do this, it is probably better
to switch to anothe
If you are having problems installing Amara, ElementTree is another
option
http://effbot.org/downloads/elementtree-1.2.6-20050316.win32.exe
from elementtree import ElementTree as ET
from urllib import urlopen
rss = ET.parse(urlopen('index.xml'))
title = rss.find('//channel/title').text
articles
Jay wrote:
> Ok, ok, i over-reacted. When first reading it seemed as an attack and i
> quickly put up a defense because i dont like being attacked for no
> reason. I was actually quite obnoxious and i apoligize.
>
> And again, thx James for pointing that out.
> Once again, i apoligize for my actio
Ok, ok, i over-reacted. When first reading it seemed as an attack and i
quickly put up a defense because i dont like being attacked for no
reason. I was actually quite obnoxious and i apoligize.
And again, thx James for pointing that out.
Once again, i apoligize for my actions and words and i will
Jay,
Profanity is unwelcome in this newsgroup. Alex's advice is very well
placed and you will realize that once you stop seeing it as a personal
attack. Different newsgroups have different attitudes. comp.lang.python
is not exactly a tech support group. Bug reports posters here are
frequently adv
Jay wrote:
> Woah woah woah, calm your ass down a little.
>
> I didn't say that the "hijacker" made it go off topic. Did I? I just
> said that the thread was going off topic from the dam title. We
> weren't
> talking about XML no more now were we. And who the hell are you talking
> to thinking tha
Jay wrote:
> Woah woah woah, calm your ass down a little.
>
> I didn't say that the "hijacker" made it go off topic. Did I? I just
> said that the thread was going off topic from the dam title. We
> weren't talking about XML no more now were we.
They were discussing _why_ the XML module you were t
On that note... I would like to open up the floor again.. lol
--
http://mail.python.org/mailman/listinfo/python-list
Woah woah woah, calm your ass down a little.
I didn't say that the "hijacker" made it go off topic. Did I? I just
said that the thread was going off topic from the dam title. We
weren't
talking about XML no more now were we. And who the hell are you talking
to thinking that I haven't researched my
The thread didn't go "off topic", the "hijacker" was reporting on
errors with Amara's Windows installer that COULD BE RESPONSIBLE FOR THE
PROBLEMS YOU ARE EXPERIENCING. If you had ANY understanding of Python,
you would have realised this.
Sometimes you really need to slow down and learn something
21 matches
Mail list logo