working on python linkage