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_Day_Avail(sub_selection, db_cursor):
  query_day = sub_selection[0:3]
  db_cursor.execute("SELECT * FROM deskcat_avl2 WHERE day = '%s' AND  updated >= date_sub(now(),\
                     interval 1 month)" % query_day)
  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 day? (\"back\" to return to menu)\n")
        if sub_selection != "back":
          Avl_Query.Display_Day_Avail(sub_selection, db_cursor)
 
    elif selection == "3":