Python configuration