, OgrNo=None , Ad =None , Soyad =None , Vize1 =None , Vize2 =None , Final =None ):
self.OgrNo=OgrNo
self.Ad=Ad
self.Soyad = Soyad
self.Vize1 = Vize1
self.Vize2 = Vize2
self.Final = Final
def OgrenciBilgileriniYazdir():
pass
csvVeri = pd.read_csv("Ogrenciler.csv",sep=',')
for satir in csvVeri:
Ogrenci=Ogrenciler() # kayıt sayısı kadar nesne oluşturuldu .
<————————HOW DO I ASSIGN EVERY DATA TO THE LIST?
You want to keep the all ogreen...? Make ogreenci a list and use .append(...) Want to create ogreen... with satir datas ? If they are in the good order just use ogreen(*satir) (1 asterisk) Or If they need specific op like casting (str=>int) for example just use satir[i] to select the right ...
Обсуждают сегодня