Python Script to Delete Data

Hello Experts, i need to create a python script to delete data from oracle tables based on the date as input parameter. i can do the deleteing based on certain ID as a input but how to delete it if my date is DD-MM-YYYY and i want to delete all data from all tables before that date.

please advise.