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