Re: Genital Hair Removal

2008-08-01 Thread Tim Cook

On Thu, 2008-07-31 at 20:46 -0700, Paul McGuire wrote:

 Be careful though, you should not modify a sequence while iterating
 over it.
 
 -- Paul

But if I can't remove each hair from the sequence as it's actually
removed then how will I ever know when I'm finished?


--Tim





-- 
**
Join the OSHIP project.  It is the standards based, open source
healthcare application platform in Python.
Home page: https://launchpad.net/oship/ 
Wiki: http://www.openehr.org/wiki/display/dev/Python+developer%27s+page 
**


signature.asc
Description: This is a digitally signed message part
--
http://mail.python.org/mailman/listinfo/python-list

Re: Genital Hair Removal

2008-07-31 Thread Paul McGuire
On Jul 31, 10:40 pm, dr.jonver [EMAIL PROTECTED] wrote:
 Genital Hair Removal 
 http://misspelled_words_in_URLs_are_funny.blogspot.com/2008/07/genital-hair-removal.html

Python provides the del command, as in:

del self.genital_hair

If Genital Hair is an element in a list, you can remove it using:

items.remove(Genital Hair)

Be careful though, you should not modify a sequence while iterating
over it.

-- Paul
--
http://mail.python.org/mailman/listinfo/python-list