title: How do I dynamically generate a file name in python?
body: <p>We're working on a python application for MAC OSX that should be pip-installable, and we want to automate the creation of a <code>plist</code> file during installation, but the <strong>file name</strong> must contain the OSX username in order for the application to work, eg. <code>com.username.app.plist</code>.</p>
  
  <p>Q : How do I dynamically generate such a file in python ?</p>