On Mar 20, 3:09 pm, jmDesktop <[EMAIL PROTECTED]> wrote:
> Hi, I'm trying to learn Python. I using Aquamac an emac
> implementation with mac os x. I have a program. If I go to the
> command prompt and type pythong myprog.py, it works. Can the program
> be run from within the editor or is that n
Slawomir Nowaczyk wrote:
> #> That's true, but even emacs and xemacs don't offer simple automatic
> #> word wrap (i.e. wrap a line without splitting words or putting an eol
> #> or hard carriage return at the end of every line).
>
> Of course it does... there is longlines.el and longlines-mode in
On 10 Jun 2005, at 20:38, Michael Chermside wrote:
> David Reitter writes:
>
>> Why does the following result in an IndexError?
>>
> [...]
>
>>>>> import re
>>>>> m = re.match('(?Pmaybe)?yes', "yes")
>>>>>
Why does the following result in an IndexError?
I try to match an optional group, and then access it via its group
name. The group happens to not participate in the match, but is
obviously defined in the pattern.
The documentation says that, at least for numbered groups, "If a group
is contained in