List Performance

2008-06-29 Thread Ampedesign
If I happen to have a list that contains over 50,000 items, will the size of the list severely impact the performance of appending to the list? -- http://mail.python.org/mailman/listinfo/python-list

Re: lxml and links

2008-06-28 Thread Ampedesign
On Jun 27, 10:00 pm, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Ampedesign wrote: > > I'm trying to extract all the links on a page with lxml. Ideally, I > > would like it to return me a list of hrefs of each link on the page, > > in a list. > > > How

lxml and links

2008-06-27 Thread Ampedesign
I'm trying to extract all the links on a page with lxml. Ideally, I would like it to return me a list of hrefs of each link on the page, in a list. How would I go about doing this? -- http://mail.python.org/mailman/listinfo/python-list

Re: I Need A Placeholder

2008-06-26 Thread Ampedesign
On Jun 26, 10:08 am, Duncan Booth <[EMAIL PROTECTED]> wrote: > Ampedesign <[EMAIL PROTECTED]> wrote: > > I'm trying to build a try/except case, and I want to have the except > > function like such: > > > try: > >       # Do some code here >

Re: I Need A Placeholder

2008-06-26 Thread Ampedesign
On Jun 26, 10:06 am, Daniel Mahoney <[EMAIL PROTECTED]> wrote: > On Thu, 26 Jun 2008 10:03:47 -0700, Ampedesign wrote: > > I'm trying to build a try/except case, and I want to have the except > > function like such: > > > try: > >       # Do some code her

I Need A Placeholder

2008-06-26 Thread Ampedesign
I'm trying to build a try/except case, and I want to have the except function like such: try: # Do some code here var = 1 # For example except: #Do nothing here The only problem is if I leave a comment only in the except block, I get an error back saying that the except