title: Can a python script be used to generate and write a C++ file/program?
body: <p>I am doing unit testing as part of my intern-ship. My boss is always telling me that finding a way to automate things is the best way and I was wondering if it would be possible to use python, to write a script that would read a text file with a certain structure and syntax and then generate a c++ file based off of said text file? </p>
  
  <p>I am using Google-Test to do unit testing and I just think it would be a good addition to the companies tools but I would just like to know if its possible and if anyone else has done something similar.</p>
  
  <p>Thanks!</p>