victorsubervi at gmail.com
Tue Jul 29 18:47:48 CEST 2008
I´ll try that. Back online in a week.
On 7/29/08, Tim Golden <mail at timgolden.me.uk> wrote:
> Victor Subervi wrote:
>> def a():
>> chars = ['\\i0', '\\u0', '\\qc', '\\b0', '\\ql', '\\i', '\\u', '\\b',
>> rtf_markup = 'viewkind4\uc1\pard\nowidctlpar\qc\i\f0\fs36 Who is like the
>> Beast? Who can wage war against him?\par'
>> for char in chars:
>> c = '(?<=' + char + ')'
>> test = re.search(c, rtf_markup)
>> junk = test.group(0)
>> print char
>> Now, I can paste that entire fn in linux. But in windows I have to paste
>> it line_by_line. Pain in butt! And it indents automatically. How change that
> Well, I'm not really sure what to say. I've just copied that
> whole section with drag-mouse, Ctrl-C. I then opened a new
> interpreter window (effectively, Start > Run > python) and
> right-clicked over the window. At this point, the lines I
> copied were copied in and the function accepted by the
> I do have QuickEdit on by default in all by console windows,
> but the only difference I expect that to make is that you'd
> otherwise have to use the window's System Menu (Alt-Space,
> Edit, Paste).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list