Python File Upload Example This example shows how to perform a form based file upload using the Python requests library. Just add your app_id and app_key to the variables in the detect.py or enroll.py files.