def __init__(self, name, code):

        self.subjectID = None
        self.subjectName = name
        self.level = None
        self.connector = connectorClass()
        self.code = code
        self.getID()
        self.cursor = self.connector.connection.cursor()
Beispiel #2
0
 def __init__(self, data):
     self.id = data[0]
     self.connect = connectorClass()
Beispiel #3
0
 def __init__(self, data):
     self.connection = connectorClass()
     self.data = data
Beispiel #4
0
 def __init__(self):
     self.connect = connector.connectorClass()
     self.cursot = self.connect.cursor
Beispiel #5
0
 def __init__(self, data, name):
     self.data = data
     self.connect = connector.connectorClass()
     self.name = name
     self.id = self.getCourseID()
Beispiel #6
0
 def retryConnect(self):
     self.connect = connector.connectorClass()
     if self.connect.isConnected():
         self.id = self.getCourseID(self.name)
         return True
Beispiel #7
0
 def __init__(self, name):
     self.name = name
     self.connect = connector.connectorClass()
     if self.connect.isConnected():
         self.id = self.getCourseID(name)
Beispiel #8
0
 def __init__(self, id):
     self.id = id
     self.connect = connector.connectorClass()
Beispiel #9
0
 def __init__(self, data):
     self.data = data
     self.connect = connector.connectorClass()