How to work with python pelican