hassan11196 / QRSMS-V1

Consider using literal syntax to create the data structure PTC-W0019
Performance
Minor
4 years ago4 years old
unnecessary list call - write as literal
126        title = list()
127        short = list()
128        crdthr = list()
129        section = list()130        instructor = list()
131        for col in worksheet['C']:
132            if(col.value != None):
unnecessary list call - write as literal
121        worksheet = wb["BATCH " + str(student_batch)]
122        print(worksheet)
123
124        excel_data = list()125        code = list()
126        title = list()
127        short = list()
unnecessary list call - write as literal
127        short = list()
128        crdthr = list()
129        section = list()
130        instructor = list()131        for col in worksheet['C']:
132            if(col.value != None):
133                code.append(col.value)
unnecessary list call - write as literal
125        code = list()
126        title = list()
127        short = list()
128        crdthr = list()129        section = list()
130        instructor = list()
131        for col in worksheet['C']:
unnecessary list call - write as literal
124        excel_data = list()
125        code = list()
126        title = list()
127        short = list()128        crdthr = list()
129        section = list()
130        instructor = list()