TABLE RSS TITLES:
Greg Reinacker's Weblog  and it s url
 The Design of Software  and its url
Paul Graham
Wingedpig.com - Mark Fletcher's Blog 
Aaron Swartz: The Weblog 
 BusinessWeek Online -- New Tech in Asia

TABLE 2 has all the feedposts for eg.,
one in bold is pg, rsest is aaron,
when i get out contents of blog by select and query sql statements they return lists indexed by numbers and hence it is difficult to map to the original title - i have to do monkeypatching
so i want a dictionary indexed by the url http://paulgraham.infogami.com/blog/atom.xml

and another element indexed by http://www.aaronsw.com/weblog/index.xml
thanks

Kent Johnson <[EMAIL PROTECTED]> wrote:
I still don't understand what you are trying to do. Can you post a short
example of the data you have and the dictionary you would like to create
from it?

Kent

anil maran wrote:
> the program has several groups
> i hav a table with titles
> and contents are in different table content_table
>
> each title -> is title_id in content_table
>
> so every time i display a group, i have to select title and then
> select all messagesw with title_id
>
> now the problem is, I have to display more than one group in a single
> page in cheetah,
>
> so after displaying the title, i have to now choose the message to
> display
>
> since i have a list of [] of messages
>
> i need to index into them
> so i thought i will make them return a dictionary indexed with URL
> which is unique
>
> thanks
>
> > anil maran wrote:
> > > list comprehensions to return a dictionary
> >
> > A list comprehension creates a list. Can you explain why you want
> > this?
> >
> > Kent
> >
> > _______________________________________________
> > Tutor maillist - [email protected]
> > http://mail.python.org/mailman/listinfo/tutor
>
> ------------------------------------------------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls
>
> to the US (and 30+ countries) for 2�/min or less.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tutor maillist - [email protected]
> http://mail.python.org/mailman/listinfo/tutor
>


_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor


Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to