#!/usr/bin/env python # -*- coding: utf-8 -*- # 学段列表 PERIODS = ["高中", "初中", "小学"] PERIOD_MAPS = {0: "小学", 1: "初中", 2: "高中"} # 学科列表 SUBJECTS = ["语文", "数学", "英语", "政治", "历史", "地理", "物理", "化学", "生物"] # 资源类型 RESOURCE_TYPES = ["exam", "work"] # 作业资源分类表 WORK_RESOURCE_TYPES = ["同步练习", "单元练习"] # 图片格式 IMAGE_TYPES = ["png", "PNG", "jpg", "JPG", "jpeg", "JPEG", "BMP", "bmp"] # 年级排序 GRADE_ORDER = { "一年级": 1, "二年级": 2, "三年级": 3, "四年级": 4, "五年级": 5, "六年级": 6, "初一年级": 7, "初二年级": 8, "初三年级": 9, "高一年级": 10, "高二年级": 11, "高三年级": 12 } # 客观题型 OBJECTIVE_QUESTION_TYPES = ["单选题", "多选题"]