Re: it looks strange
I get it.Thanks! -- https://mail.python.org/mailman/listinfo/python-list
what's the difference of Template.append(...) and Template.prepend(...) in pipes module
Template.append(cmd, kind) and Template.prepend(cmd, kind) Append a new action at the end.The cmd variable must be a valid bourne shell command. The kind variable consists of two letters. My os is windows 7.But this module is used for POSIX. So,I don't know the doucement said what's difference of 'Append a new action at the end/beginning'. My English is poor:-),I hope I express clearly what I mean. -- https://mail.python.org/mailman/listinfo/python-list
Re: what's the difference of Template.append(...) and Template.prepend(...) in pipes module
Please give me a simple example.Thanks! -- https://mail.python.org/mailman/listinfo/python-list
Re: what's the difference of Template.append(...) and Template.prepend(...) in pipes module
https://docs.python.org/2/library/pipes.html -- https://mail.python.org/mailman/listinfo/python-list
A regular expression question
Look this >>> import re >>> text="asdfnbd]" >>> m=re.sub("n*?","?",text) >>> print m ?a?s?d?f?n?b?d?]? I don't understand the 'non-greedy' pattern. I think the repl argument should replaces every char in text and outputs "". -- https://mail.python.org/mailman/listinfo/python-list