How to extract numbers from filename in Python?,[int(x) for x in regex.findall(filename)]