I can give more details.
I have nine files with timetable for each faculty in excel. I saved all of
them in csv and my task was create parser for read each class (university
subject) to database for each group. Parser was written now, and all
classes in my variable type of list.
Class structure:
class DoubleClass:
def __init__(self, tt_id, dc_number, dc_day, dc_type, subject_id,
teacher_id, building_id, class_room_id,
subgroup, dc_week, dc_queue):
self.tt_id = tt_id
self.dc_number = dc_number
self.dc_day = dc_day
self.dc_type = dc_type
self.subject_id = subject_id
self.teacher_id = teacher_id
self.building_id = building_id
self.class_room_id = class_room_id
self.subgroup = subgroup
self.dc_week = dc_week
self.dc_queue = dc_queue
default.py
def importTimetable():
sdsds
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/920aaed8-cdbe-4cbb-931a-4efaf387f113%40googlegroups.com.