<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi. I have two different, but related, issues. <div><br></div><div>First, how does one execute a single line / selection in shell mode? I've enabled enhanced terminal usage. Script (cmd-R) executes fine, but on the entire document. The Textmate Manual direction (<a href="http://manual.macromates.com/en/shell_commands">http://manual.macromates.com/en/shell_commands</a>) to use ^R for a line or selection does not produce any results other than a forward slash.</div><div><br></div><div>Second, has anyone solved the "execute line / selection" issue in the Python bundle? (<a href="http://stackoverflow.com/questions/1775954/using-python-3-1-with-textmate">http://stackoverflow.com/questions/1775954/using-python-3-1-with-textmate</a>). Again, can run an entire script just fine, but line/selection functionality appears broken and returns the following.</div><div><br></div><div>Traceback (most recent call last):</div><div> File "/tmp/temp_textmate.QffC1S", line 19, in <module></div><div> stdout.write(exc)</div><div>TypeError: argument 1 must be string or read-only character buffer, not list </div><div><br></div><div>I'm working on a MBP running Snow Leopard with most recent version of TM. Am hoping I am just missing something obvious, but have spent a few (fruitless) hours googling and searching the mailing list. </div><div><br></div><div>Am new to Textmate (couple of months) but already convinced it is an ideal editor for me. The R, Latex and Sweave bundles are nothing short of remarkable. Any help or directions to solutions would be greatly appreciated, and would make what is already a great tool, almost perfect.</div><div><br></div><div>Cheers</div><div><br></div><div>Charlie</div><div><div><div><br></div></div></div></body></html>