# pdf2image extracts as a list of PIL.Image objects
pages = convert_from_path(filename)
```

```python PYTHON