<div>IŽll try that. Back online in a week.</div>
<div>Victor<br><br> </div>
<div><span class="gmail_quote">On 7/29/08, <b class="gmail_sendername">Tim Golden</b> <<a href="mailto:mail@timgolden.me.uk">mail@timgolden.me.uk</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span class="q">Victor Subervi wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">def a():<br> chars = ['\\i0', '\\u0', '\\qc', '\\b0', '\\ql', '\\i', '\\u', '\\b', '\\yz']<br>
 rtf_markup = 'viewkind4\uc1\pard\nowidctlpar\qc\i\f0\fs36 Who is like the Beast? Who can wage war against him?\par'<br> for char in chars:<br>   c = '(?<=' + char + ')'<br>   test = re.search(c, rtf_markup)<br>
   try:<br>     junk = test.group(0)<br>     print char<br>   except:<br>     pass<br><br>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 behavior.<br>
</blockquote><br></span>Well, I'm not really sure what to say. I've just copied that<br>whole section with drag-mouse, Ctrl-C. I then opened a new<br>interpreter window (effectively, Start > Run > python) and<br>
right-clicked over the window. At this point, the lines I<br>copied were copied in and the function accepted by the<br>interpreter.<br><br>I do have QuickEdit on by default in all by console windows,<br>but the only difference I expect that to make is that you'd<br>
otherwise have to use the window's System Menu (Alt-Space,<br>Edit, Paste). 
<div><span class="e" id="q_11b6f0cbe917fe6a_2"><br><br>TJG<br>--<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</span></div></blockquote></div><br>