Python configuration reading