I will recommend you to rename this file to settings.py and add there a variable ICONS_WHITELISTED with the list of all the icons.

On the main code you will be able to:

```
import settings

for icon in settings.ICONS_WHITELISTED:
```

And you will not need the overhead of read the file from the code.