[WIP] Use python instead of C