The Woman Who Cried Milk: A Short Story Told in Python

Written by offcode | Published 2022/12/06
Tech Story Tags: python | short-story | coding | stories | fiction | python-programming | short-stories | programming

TLDRWhen the line between source code and literary fiction blurs. You can't decide if you're reading a story or a program -- I'm afraid it won't run, thoughvia the TL;DR App

# The Woman Who Cried Milk

with open(fridge, by=sarah):
    sarah.smells(milk)
    assert milk.best_before <= datetime.now()
    milk.age == time(days=2)
    if time and again:
        food = sarah.select() and food is not milk

with sarah.make_note(type='mental') as grocery_list:
    if sarah in grocery_store:
        cart.add(milk)
        cart.add(milk) if milk.fat_content > 0.03

if sarah in os.HOME:
    try:
        milk.discard() if milk.best_before > datetime.now()
        import milk from shopping_bag
        open(milk)
    except OverflowError:
        raise Hands()
    except MemoryError:
        music.query(smells, 'like', '%teen spirit%')
        break

    if sarah.last_time < 10:
        music.query(artist, 'like', '%teen spirit%')
        dance.shuffle()
        sleep(1)

    for dance in rooms:
        continue

    sarah.teeth.brush()
    sarah.wash()
    sarah.groom()
    sarah.dress()
    sarah.shoes()
    sarah.accessories()
    sarah.jewelry()
    sarah.make_up()
    sarah.perfume()
    sarah.look()

    for dance in rooms:
        continue


Published by HackerNoon on 2022/12/06