Saving Data from Dictionary

时间:2016-02-12 20:39:48

标签: c# dictionary casting streamwriter

I am trying to save input data from user to a text file at the end of this program.

My Dictionary is StudentList int key, student

student is a class which includes multiple properties.

I need to save all the input for those properties at the end of the program .

Currently i have come up with this :

import urllib

a = 1

while a == 1:

    urllib.urlretrieve("http://lemerg.com/data/wallpapers/38/957049.jpg","D:\\Users\\Elias\\Desktop\\FolderName-957049.jpg")

Any suggestions?

0 个答案:

没有答案