Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def Display_DeskcatAvail_ByDay(sub_selection, db_cursor):
  db_cursor.execute("SELECT * FROM deskcat_avl2 WHERE deskcat = '%s'\
                    ORDER BY FIELD(day, 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT')" % sub_selection)
  data = db_cursor.fetchall()
  Display_Header()
  Generate_Output(data)
        


src/c/a/CAT-Scheduling-HEAD/Scheduling/admin-core.py   CAT-Scheduling(Download)
        sub_selection = raw_input("\nView all availability for which Deskcat? (\"back\" to return to menu)\n")
        if sub_selection != "back":
          Avl_Query.Display_DeskcatAvail_ByDay(sub_selection, db_cursor)
 
    elif selection == "4":