Commit Graph

10 Commits

Author SHA1 Message Date
Wirawan Purwanto
7ebb4004dc * str_igrep(): use enumerate function. 2012-06-13 19:36:35 -04:00
Wirawan Purwanto
6433e5da3c * Added prefix and suffix options for matrix_str and vector_str. 2012-05-23 00:25:42 -04:00
wirawan
3f38cbfb34 * Allow printing of numpy.matrix objects. 2011-09-13 21:50:16 +00:00
wirawan
ceeafa811a * Added str_snippet() from MnO ipython script. 2011-09-07 15:03:54 +00:00
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).
2011-06-03 18:24:00 +00:00
wirawan
4c9b5ce9f7 * Update documentations. 2010-09-27 19:54:29 +00:00
wirawan
3701e5655a * added str_grep and str_igrep. 2010-05-28 18:46:53 +00:00
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).
2010-02-24 14:28:13 +00:00
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).
2010-01-22 18:50:09 +00:00
wirawan
887ca7e16e * text_tools: module to contain simple text utilities. 2009-12-04 19:57:22 +00:00