[Python-ideas] Transportable indent level markers. /// ; ; ; \\\
Yuval Greenfield
ubershmekel at gmail.com
Thu Dec 15 11:18:17 CET 2011
On Thu, Dec 15, 2011 at 12:11 PM, Jeremy Sanders
<jeremy at jeremysanders.net>wrote:
> Ron Adam wrote:To allow easy use of python in environments which aren't
> space-sensitive,
> wouldn't another solution be to have some sort of non-space character which
> could act as leading spaces, e.g.
>
>
Another solution - the templating language for bottle.py requires every
block opened to be closed with an "end". Eg:
if name:
print name
else:
input("your name please:")
__end__
Or we could use a special character for that...
http://bottlepy.org/docs/dev/stpl.html#embedded-python-code
--Yuval
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20111215/23dd7fa4/attachment.html>
More information about the Python-ideas
mailing list