Substring a file name - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Substring a file name

cpoyntercpoynter Posts: 2Member
Hi All,

I want to be able to rename a text file to a shorter version and different extension, for example, abc_123_d1.txt > a123d1.csv

I am using python 2.5 on windows.

Thank you in advance.
Sign In or Register to comment.