can not get key and value from dict python in a directory
===

Hi Iam new here I well be thanksfull i anybody can help me
I faced a problem when i tryed to get key and value from 
my file 'wahbilogintest.py', which contain a dictionary 'kids{}'.
 can you please help me how i well search efter my file 'wahbilogintest.py'
 in directory:'C:/webbplats/mydata' and iterate over in the file to get/bring
 key and value.
regards&thanks

# my source code

 class visafilerIkatalogen :
    import os  
    folder = 'c:/webbplats/mydata/' 
    dinfil = raw_input("Enter your userprofile med prefix.txt: ")
    #dindictionary = raw_input("Enter your dictionary name: ")
    loginReadProfile = open(folder+str(dinfil),'r')
    for key, value in dinfil.iteritems():
            print 'Username is: ',key
            print 'value is: ',value
            
    print loginReadProfile.readlines()
    loginReadProfile.close()
        

Myobj12 = visafilerIkatalogen()