<div dir="ltr"><div class="gmail_quote">On Thu, Dec 15, 2011 at 12:11 PM, Jeremy Sanders <span dir="ltr"><<a href="mailto:jeremy@jeremysanders.net">jeremy@jeremysanders.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Ron Adam wrote:To allow easy use of python in environments which aren't space-sensitive,</div>
wouldn't another solution be to have some sort of non-space character which<br>
could act as leading spaces, e.g.<br>
<br></blockquote><div><br></div><div>Another solution - the templating language for bottle.py requires every block opened to be closed with an "end". Eg:</div><div><br></div><div><div>if name:</div><div>  print name</div>
<div>else:</div><div>  input("your name please:")</div><div>__end__</div></div><div><br></div><div>Or we could use a special character for that...</div><div><br></div><div><a href="http://bottlepy.org/docs/dev/stpl.html#embedded-python-code">http://bottlepy.org/docs/dev/stpl.html#embedded-python-code</a></div>
<div><br></div><div>--Yuval</div></div></div>