Time in python

David Lees debl2nonospammyWhammy at bellatlantic.net
Thu May 30 21:22:15 EDT 2002


If you are asking about text processing for a particular type of output,
how about:

>>> x ='python.txt 28/05/02 06:25'
>>> string.split(x)[2]
'06:25'


david lees


Gold Fish wrote:
> 
> Can anyone tell me how we seperate the time in the file name in python.
> For example
> python.txt 28/05/02 06:25



More information about the Python-list mailing list