import ships.paths.directory.find_and_replace_string_v2 as find_and_replace_string_v2
import pathlib
from os.path import dirname, join, normpath
this_directory = pathlib.Path (__file__).parent.resolve ()
habitat_path = "/Metro"
places = [
str (normpath (join (habitat_path, "Hull/sources"))),
str (normpath (join (habitat_path, "src")))
]
for place in places:
print ("place:", place)
find_and_replace_string_v2.start (
the_path = place,
find = 'Mottoverse',
replace_with = 'Domain_IV',
replace_contents = "yes",
replace_paths = "yes"
);
for place in places:
print ("place:", place)
find_and_replace_string_v2.start (
the_path = place,
find = 'mottoverse',
replace_with = 'domain_IV',
replace_contents = "yes",
replace_paths = "yes"
);