Dick Moores wrote:
> I think I've done it, and with only the initial help from Ian.
> 
> <http://www.rcblue.com/Python/getCrew_ForWeb.py> (The output is 
> pasted at the bottom of the script.)

> print "starting at", time.asctime()[11:19]

You can ask for the format you want directly:
print "starting at", time.strftime('%H:%M:%S')

> b = a.split('href="')
> lstB = []
> for x in b:
>     lstB.append(x)

This just makes a copy of b, which you probably don't need, I don't see 
any other use of b. So just write
lstB = a.split('href="')

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to