Skip to content Skip to sidebar Skip to footer
Showing posts with the label Substitution

Sphinx Substitution With A Container

How can I substitute a container directive ? The following doesn't work: .. |sub| container:: … Read more Sphinx Substitution With A Container

Padding Multiple Character With Space - Python

In perl, I can do the following with will pad my punctuation symbols with spaces: s/([،;؛¿!'\])… Read more Padding Multiple Character With Space - Python

SymPy - Substitute Sybolic Entries In A Matrix

I have a python function which generates a sympy.Matrix with symbolic entries. It works effectively… Read more SymPy - Substitute Sybolic Entries In A Matrix

SymPy - Substitute Sybolic Entries In A Matrix

I have a python function which generates a sympy.Matrix with symbolic entries. It works effectively… Read more SymPy - Substitute Sybolic Entries In A Matrix

Python Regex Sub: Using Dictionary With Regex Expressions

I am using a dictionary that contain regular expressions to substitute portions of different string… Read more Python Regex Sub: Using Dictionary With Regex Expressions