Question #204153 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204153

Shafiq Khan posted a new comment:
def UserName():        
    config = ConfigParser.ConfigParser()    
    myFilePath = os.path.join(getBundlePath(),'settings.ini')
    print "My config file is located at: " + myFilePath

    with open(myFilePath,'r') as configfile:       
        config.readfp(configfile)
        return config.get('user1','user')

print UserName()

Now, on to encrypting password on config file...

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to