Searching date and and time from a text file

davideugenewarren at gmail.com davideugenewarren at gmail.com
Mon Nov 14 17:50:55 EST 2005


masudtarek at gmail.com wrote:
> Hi, I am new in Python programming. Can anybody give me any idea about
> how to detect more than one date and time (like 11/11/2005 ,
> 10-12-2006, 12:30 etc) from a text file and keep them in a list.

http://docs.python.org/lib/bltin-file-objects.html

http://docs.python.org/lib/typesseq.html

http://docs.python.org/lib/typesseq-mutable.html

http://www.amk.ca/python/howto/regex/

and possibly

http://docs.python.org/lib/module-datetime.html




More information about the Python-list mailing list