[Q] ipython: Multiple commands on the same line and newlines
rosuav at gmail.com
Mon Apr 18 08:12:02 CEST 2011
On Mon, Apr 18, 2011 at 4:01 PM, harrismh777 <harrismh777 at charter.net> wrote:
> It might be nice (as an option) to be able to disengage the forced
> indentation syntax rules of Python. In other words, provide indentation
> syntax by default and allow an option via environment variable to engage an
> alternate (more C-like) blocking syntax.
You can do that with a future directive.
from __future__ import braces
That's two underscores before and after the word "future".
More information about the Python-list