#!/usr/bin/python

def myFortune():
    import os
    libs = []
    for f in os.listdir("/usr/share/games/fortunes/"):
        if (".u8" in f or ".dat" in f):
            continue
        libs += [f]
    print libs

myFortune()

49ee00749aa1a9a18a2a5e3c714c3b1c7bf68e98
#!/usr/bin/python

def myFortune():
    import os
    libs = []
    for f in os.listdir("/usr/share/games/fortunes/"):
        if (".u8" in f or ".dat" in f):
            continue
        libs += [f]
    print libs

myFortune()
