Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

add suffix to multiple file names python

from glob import glob
import os
pre = "xyz_"
[os.rename(f, "{}{}".format(pre, f)) for f in glob("*.html")]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #suffix #multiple #file #names #python
ADD COMMENT
Topic
Name
1+3 =