Re: [Tutor] extract date and time from string

2012-08-21 Thread Norman Khine
ok, i figured it out: >>> from BeautifulSoup import BeautifulSoup >>> for EVENT in TABLE_CONTENT: ... for index, item in enumerate(EVENT): ... if index == 4: ... soup = BeautifulSoup(item) ... for a in soup.findAll('a'): ...

[Tutor] extract date and time from string

2012-08-21 Thread Norman Khine
Hello, When I try this, I get the following error: ☹ python * master 697cedfitools" Python 2.7.2 (default, Jan 28 2012, 14:53:22) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import dateutil.parser as dpars