View Single Post
Old 12-24-2012, 06:24 AM   #7
flyingfoxlee
Member
flyingfoxlee began at the beginning.
 
Posts: 21
Karma: 10
Join Date: May 2011
Device: kindle 3
Quote:
Originally Posted by kovidgoyal View Post
call it twice.
You mean
Code:
soup = index_to_soup(index_one)
# process soup
soup = index_to_soup(index_two)
# process soup
or
Code:
soup = index_to_soup(index_one)
 soup = index_to_soup(index_two)
# process soup
I'm afraid in the second case soup would be overwritten.
flyingfoxlee is offline   Reply With Quote