add example python code to use celery