Wirawan Purwanto
7d5bf9e7f8
* Added simple text table reader.
10 years ago
Wirawan Purwanto
8da8937009
* Added function str_indent for completeness.
11 years ago
Wirawan Purwanto
363999badf
* Added str_lstrip, str_rstrip functions for a Bourne-like substring
...
stripping.
11 years ago
Wirawan Purwanto
42babbe767
* Add "global variable" statement.
11 years ago
Wirawan Purwanto
9a5d2dfa9f
* text_tools: Added str_fmt_heading() function for formatting table heading
...
a la printf.
11 years ago
Wirawan Purwanto
7ebb4004dc
* str_igrep(): use enumerate function.
13 years ago
Wirawan Purwanto
6433e5da3c
* Added prefix and suffix options for matrix_str and vector_str.
13 years ago
wirawan
3f38cbfb34
* Allow printing of numpy.matrix objects.
13 years ago
wirawan
ceeafa811a
* Added str_snippet() from MnO ipython script.
13 years ago
wirawan
90c4f1b50b
* Added vector_str and matrix_str generic function to print a matrix/vector
...
in space-seprated string format.
The output is mainly for human consumption, not for machine re-reading
(although it is possible to do so, in general).
14 years ago
wirawan
4c9b5ce9f7
* Update documentations.
14 years ago
wirawan
3701e5655a
* added str_grep and str_igrep.
15 years ago
wirawan
ed52cd4af0
* Added slice_str for easy printout of a slice object in python typical slice
...
syntax (e.g. 0:10: or 0:10:3 or :10:3, etc).
15 years ago
wirawan
66b8f5309d
* Added: str_unindent to unindent python """-style string.
...
* Added: str_save_to_file to quickly save/append a string (or strings)
to a text file.
* Added: str_expand to do iterative string expansion a la make or m4 (but
without programming capabilities).
15 years ago
wirawan
887ca7e16e
* text_tools: module to contain simple text utilities.
15 years ago