I want to write a simple python 2.7 jinja2 writer that writes out text config files for WL AccessPoints
I have the following structure in my directory ~/Documents/PyCharmProjects:
config-data.csv
mk-wl-ap-configs.py
shadow.jinja
network.jinja
wireless,jinja
and I ultimatley I want it to write the jinja2 rendered output to subdirs named after the AccessPoints
ap1:
shadow
network
wireless
ap2:
shadow
network
wireless
OK, thanks to @ondrag on Freenet IRC, (maybe @garncarz ?) i now have code that runs "through" without errors.
But now I need to split the whole kabuddle up and write the three jinja rendered output files into 3 separate outputfiles under twelve separate subdirs (one per WL AP)