Re: [Python-Dev] Inconsistent script/console behaviour

2011年9月24日 08:01:39 -0700

I see a lot of flawed "proposals". This is clearly a python-ideas
discussion. (Anatoly, take note -- please post your new gripe there.)
In the mean time, there's a reasonable work-around if you have to
copy/paste a large block of formatted code:
>>> exec('''
 .
 .
 .
<put anything you like here>
 .
 .
 .
''')
>>>
The only thing that you can't put in there is a triple-quoted string
using single quotes.
-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to