Skip to content

pytipr/pytipr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytipr

The Python Template In-Place Replacer

Chat Room Build Status Coverage Status

Example

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

About

The Python Template In-Place Replacer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages