you can copy and start using the script ( dont forget to add ppl API ) :
# Sample Python script to automate payments to workers with PayPal accounts
import paypalrestsdk
# Initialize PayPal API with your credentials
paypalrestsdk.configure({
"mode": "sandbox", # Use "live" for production...