Python script.
import os
[os.rename(f, f.replace('', 'xyz_')) for f in os.listdir('.')
if not f.startswith('.')]
from above script i want to rename the files as Before
1.0.1.0.html
1.20.0.0.html
1.11.1.0.html
1.10.1.0.html
after renaming,
xyz_1.0.1.0.html
xyz_1.20.0.0.html
xyz_1.11.1.0.html
xyz_1.10.1.0.html
Is it possible,can anyone help me out.
os.rename(f, 'xyz_' + f)??