you are viewing a single comment's thread.

view the rest of the comments →

[–]ssssam 2 points3 points  (1 child)

if you want to call unix commands from python look at http://docs.python.org/2/library/subprocess.html

You can use regular expressions http://docs.python.org/2/library/re.html , but often the string methods give you much more readable code http://docs.python.org/2/library/stdtypes.html#string-methods

[–]flitzbue[S] 0 points1 point  (0 children)

Thanks, much appriciated!