Songs in Code: One Night in NYC, The Horrorist

if (time.time()+10800) % 86400 < 21600) and not singleton:
    singleton=True
    print >> oliver, girl.move(NYC), pill.move(girl)

Explanation: if the time is between approximately 9pm and 3am, and this hasn’t happened yet, Oliver says, “girl went to New York City and took a pill”. Bug: doesn’t account for the five-hour difference between UK and USA time.

Category: