I don't know if there's a better way to get the python submissions for a contest, but for this I wrote a small python utility that returns a set() of handles of member who submitted a particular problem in python.
Code
List of all users who submitted problem E or D in python in previous Div 2