Ask a user to insert their affiliate link and create a generate button that would generate a sale to that affiliate link in 5 seconds
def affiliate_sale(): print("Please enter your link") link = input() print("in 5 seconds this link will be clicked") time.sleep(5) print("click!") webbrowser.open(link) affiliate_sale()