config = { "use_sqlite": False , "mysql_server": "172.17.0.2" , "mysql_user": "wikipedia" , "mysql_password": "wikipediastuff" , "mysql_database": "wikipedia_link_db" } if(config["use_sqlite"]): config["sql_method"] = "sqlite" else: config["sql_method"] = "mysql"