pyexpander is a macro processor based on Python. Instead of simple text replacement, it offers evaluation of arbitrary Python expressions and execution of Python code. It features simple syntax definition: all expander commands start with a dollar sign ("$") followed by word characters, parameters, Python code enclosed in brackets, or a combination of these. The full power of the Python programming language can be used, including all operators, functions and modules. Any Python expression can be used to insert text. It also provides a Python library that you can use to develop other macro tools based on pyexpander.
| Tags | Macro Text Processing Preprocessor text |
|---|---|
| Licenses | GPLv3 |
| Operating Systems | OS Independent |
| Implementation | Python |
| Translations | English |
Recent releases


Release Notes: The license was changed to GPL V.3.


Release Notes: Small changes and bugfixes: "-f" can now be used to specify several files, and $for and $while are now handled correctly when they are within an $if .. $endif block when the Boolean expression for $if is false.


Release Notes: Bugfixes for the $extend and $nonlocal commands and documentation changes.


Release Notes: This release contains some bugfixes and documentation updates.