import os
def get_available_examples():
    p, fname = os.path.split(os.path.abspath(__file__))
    return [f for f in os.listdir(p) if os.path.isfile(os.path.join(p, f))
                                         and  f.endswith(".py") 
                                         and not f.endswith(".pyc")
                                         and not f.startswith("__init__")]