from jproperties import Properties p=Properties() with open("database.properties","r+b") as f: p.load(f,"utf-8") p["uday"]="kiran1" p["uday1"]="kira1n1" p["URL"]="jdbc\:oracle\:thin\:@//192.168.63.118\:90012/XE" with open("database.properties","wb") as f: p.store(f,encoding="utf-8")
Tuesday, February 12, 2019
access/modify properties file
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment