home · login to get plonkin'

hi willow

@kasey.cafe · 19d ago · plaintext · 37 loc · raw · 1 comment

1import time2import os34def tell_willow_i_love_her(use_speech=False):5    """Tells Willow you love her, either by speech or printing."""67    message = "Willow, I love you so much!"89    if use_speech:10        try:11            # For macOS (using 'say')12            os.system(f"say '{message}'")13        except:14            print("Speech functionality failed. Printing message instead.")15            print(message)1617    else:18        print("--------------------------")19        print("   For Willow, with love!   ")20        print("--------------------------")21        print("")22        print(message)23        print("")24        print("--------------------------")25        print("    *Sending bunny kisses* ")26        print("--------------------------")2728    #optional bunny sounds!29    time.sleep(1)30    print(" *thump thump* ") #bunny thumping sound31    time.sleep(1)32    print(" *nibble nibble* ") #bunny eating sound33    time.sleep(1)34    print(" *snuffle snuffle* ") #bunny nose sound3536# Example usage (change use_speech to True if you want it spoken):37tell_willow_i_love_her(use_speech=False) #or tell_willow_i_love_her(use_speech=True)

comments

@kasey.cafe · 19d ago

 ur gay

login to post a comment