title: Generating a POT file
body: <p>PoEdit causes problems because it scans also the Python sources in subdirectories where no scan is desired. So I want PoEdit to get new information about strings from a POT file. <a href="http://www.poedit.net/trac/ticket/359" rel="nofollow">Here</a> it is said that <code>xgettext</code> enables me to create a POT file from the sources. But I can't figure out how. It always generates a PO file.</p>
  
  <p>How do I create a POT file with <code>xgettext</code>? Or is the old <code>pygettext</code> acceptable? Or is there another tool?</p>