Is there a better way to do this python code?
<p>Looking at this snippet of python code I wrote:</p>

<pre><code>return map(lambda x: x[1], 
           filter(lambda x: x[0] == 0b0000, 
                  my_func(i)
                 )
          )
</code></pre>

<p>(Hoping it's self-explanatory)</p>

<p>I'm wondering if python has a better way to do it? </p>

<p>I learned python several months ago, wrote a couple scripts, and haven't used it much since. It puts me in a weird spot for learning because I know enough to do what I want but don't have the newbie instinct to find the "proper" way. I'm hoping this question will put me back on course...</p>
