The Python Template In-Place Replacer
The Python Template In-Place Replacer
Input:
## user comment 1
user code 1
## tipr_code_start
## tipr_result_is="foo"
## tipr_code_end
## tipr_result_start
## tipr_result_end
## user comment 2
user code 2
Output (note the foo
) line:
## user comment 1
user code 1
## tipr_code_start
## tipr_result_is="foo"
## tipr_code_end
## tipr_result_start
foo
## tipr_result_end
## user comment 2
user code 2