{"version":"1.0","type":"rich","title":"Add a prefix to all the filenames in a directory","description":"This example demonstrates a simple file-renaming script that adds a prefix to every text file in the current directory. The code uses Python’s `glob` module to collect all filenames ending in `.txt` and then applies `os.rename` to prepend the string `brad_` to each file. The process is iterative, renaming files one by one in place, with no rendering or data visualization involved.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-1300411?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}