Re: ActivePython and Amara



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 trying to learn Python picecemeal, just enough to
write the next half a line of code at a time, and asking others to do
it for you. If you don't understand the basic Python data types (hint),
HTTP, XML, XPath or at least Regular Expressions, it is not the time
for you to write an RSS aggregator. You need to start with basics.

Please note that it is far simpler for me to give you your 1 line of
code to solve your problem than to type this lengthy post. But then I
would be giving you a fish, not teaching you to fish.

Start with simpler tutorials.

This is a great place to start. (It comes with your ActivePython
documentation).
http://www.ibiblio.org/obp/thinkCSpy/

Another good one.
http://www.ibiblio.org/g2swap/byteofpython/read/index.html

Make sure you read the easy tutorials till you understand most (or
better, all of) the Offical Python Tutorial.(It comes with your
ActivePython documentation)
http://docs.python.org/tut/tut.html

Then go for (It comes with your ActivePython documentation)
http://diveintopython.org/toc/index.html

Once you are done with these docs, we will be ready to talk.

Learning to program by building apps that you can actually use (as in
your RSS aggregator) is very fun. But it is very bad process that
teaches you a number of habits that are hard to unlearn. I know because
I have been this route early on and have seen several others have
similar experiences.

.



Relevant Pages

  • Re: A Special Thanks
    ... Once the basics are working ... In changing to Python I had a bigger learning curve than I realized at ... write the program it is quite likely to work the first time. ... Python also converted me to using unit tests. ...
    (comp.lang.python)
  • Python for a 10-14 years old?
    ... Pentium Pro box. ... I would like to teach her programming basics using Python (because ...
    (comp.lang.python)
  • A Special Thanks
    ... I'm one of those that tries to get an outline of the project and then puts in code as things become clear. ... Once the basics are working reasonably I go back and organize the thing for maintainability. ... When I finally got my "pieces" accomplishing what I wanted it became time to start looking at its structure. ... To all those that did the original and the fixes and the tweaks to get Python to this level I must say WELL DONE! ...
    (comp.lang.python)
  • Re: Web programming in Python.
    ... programming). ... There are a couple of different ways to do web development in python. ... I would recommend reading up on the python cgi module ... which will walk you through the basics of writing your first cgi ...
    (comp.lang.python)