Re: ActivePython and Amara

2005-12-16 Thread Jay
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

Re: ActivePython and Amara

2005-12-16 Thread James
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

Re: ActivePython and Amara

2005-12-15 Thread Jay
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

Re: ActivePython and Amara

2005-12-15 Thread alex23
> 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

Re: ActivePython and Amara

2005-12-15 Thread Jay
BTW, i finished this tutorial long ago... http://www.ibiblio.org/obp/thinkCSpy/ -- http://mail.python.org/mailman/listinfo/python-list

Re: ActivePython and Amara

2005-12-15 Thread Jay
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

Re: ActivePython and Amara

2005-12-15 Thread Jay
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

Re: ActivePython and Amara

2005-12-15 Thread James
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

Re: ActivePython and Amara

2005-12-15 Thread Jay
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

Re: ActivePython and Amara

2005-12-14 Thread alex23
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

Re: ActivePython and Amara

2005-12-14 Thread Jay
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"

Re: ActivePython and Amara

2005-12-14 Thread James
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

Re: ActivePython and Amara

2005-12-14 Thread James
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

Re: ActivePython and Amara

2005-12-14 Thread Steve Holden
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

Re: ActivePython and Amara

2005-12-13 Thread Jay
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

Re: ActivePython and Amara

2005-12-13 Thread James
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

Re: ActivePython and Amara

2005-12-13 Thread Steve Holden
his. < > > So now your saying I don't know any > python when I have read about a shitload of tutorials... So, I think > first of all, you got some damn attitude, second of all, I never asked > anyone to debug my program all I freaking asked for was help trying to > get a

Re: ActivePython and Amara

2005-12-12 Thread alex23
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

Re: ActivePython and Amara

2005-12-12 Thread Jay
On that note... I would like to open up the floor again.. lol -- http://mail.python.org/mailman/listinfo/python-list

Re: ActivePython and Amara

2005-12-12 Thread Jay
shitload of tutorials... So, I think first of all, you got some damn attitude, second of all, I never asked anyone to debug my program all I freaking asked for was help trying to get a module onto activepython which, I would love for you to Google "activepython and amara" not many relevant

Re: ActivePython and Amara

2005-12-12 Thread alex23
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

ActivePython and Amara

2005-12-12 Thread Jay
Ok, i had this posted on the other thread "XML w/ Python" but it kinda got off topic from the title to ill start a new thread. My question is this... the import of amara works in ActivePython... PythonWin 2.3.5 (#62, Feb 9 2005, 16:17:08) [MSC v.1200 32 bit (Intel)] on win32. Portions Copyright