Actually, no. You can combine the 2 lines into:
```
scripts = [s for s in soup.findAll('script') if 'src' in s and s['src'].startswith('/static')]
```