Find strings in list using wildcard
<p>I am looking for some file names in a list using a wildcard.</p>

<pre><code>from datetime import date
dt = str("RT" + date.today().strftime('%d%m'))
print dt # RT0701
</code></pre>

<p>Basically I need to find this pattern <code>dt + "*.txt"</code> :</p>

<pre><code>RT0701*.txt
</code></pre>

<p>In this list:</p>

<pre><code>l = ['RT07010534.txt', 'RT07010533.txt', 'RT02010534.txt']
</code></pre>

<p>How can i do that with a for loop?</p>