Sep-10-2019, 02:11 AM
Thanks for the reminder on the raw string. Needed to avoid unnecessary escapes....
The main question at this point is if there are any particular limits to input for the data variable. I will be feeding it with readline, and OS module derived path and file names. And the output of re.sub is going to be used to change data in filenames, directories, as well as file data. I'm pretty sure it will be smooth sailing, but its always good to double check with a new language.
I've already run into some minor n00b fubars, and need a bit of firmer footing before I launch into file/io where a typo can (and has) wiped hundreds of files.
The main question at this point is if there are any particular limits to input for the data variable. I will be feeding it with readline, and OS module derived path and file names. And the output of re.sub is going to be used to change data in filenames, directories, as well as file data. I'm pretty sure it will be smooth sailing, but its always good to double check with a new language.
I've already run into some minor n00b fubars, and need a bit of firmer footing before I launch into file/io where a typo can (and has) wiped hundreds of files.