Convert the remaining `final_module` code to Python
Convert the remaining
final_modulecode to Python