title: Generating pdf-latex with python script
body: <p>I'm a college guy, and in my college, to present any kind of homework, it has to have a standard coverpage (with the college logo, course name, professor's name, my name and bla bla bla).</p>
  
  <p>So, I have a .tex document, which generate my standard coverpages pdfs. It goes something like:</p>
  
  <pre><code>...
  \begin{document}
  %% College logo
  \vspace{5cm}
  \begin{center}
  \textbf{\huge "School and Program Name" \\}
  \vspace{1cm}
  \textbf{\Large "Homework Title" \\}
  \vspace{1cm}
  \textbf{\Large "Course Name" \\}
  \end{center}
  \vspace{2.5cm}
  \begin{flushright}
  {\large "My name" }
  \end{flushright}
  ...
  </code></pre>
  
  <p>So, I was wondering if there's a way to make a Python script that asks me for the title of my homework, the course name and the rest of the strings and use them to generate the coverpage. After that, it should compile the .tex and generate the pdf with the information given.</p>
  
  <p>Any opinions, advice, snippet, library, is accepted.</p>