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

Simultaneous Changing Of Python Numpy Array Elements

I have a vector of integers from range [0,3], for example: v = [0,0,1,2,1,3, 0,3,0,2,1,1,0,2,0,3,2,… Read more Simultaneous Changing Of Python Numpy Array Elements

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

Substitution In A File Name With Restructuredtext (sphinx)?

I want to create several files from a single template, which differ only by a variable name. For ex… Read more Substitution In A File Name With Restructuredtext (sphinx)?

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