What python can NOT do?
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Sat Sep 5 00:50:35 EDT 2009
More information about the Python-list mailing list
Sat Sep 5 00:50:35 EDT 2009
- Previous message (by thread): What python can NOT do?
- Next message (by thread): What python can NOT do?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 04 Sep 2009 22:27:39 -0500, Grant Edwards wrote: >> Take (almost) any arbitrary piece of Python code. Replace all newlines >> by nulls. Escape any quotation marks. Wrap the whole thing in quotes, >> and pass it to exec as above, and you have an arbitrarily complex >> one-liner. > > I don't understand the reason for the newline/null swapping. Good point. I was just over-complicating it. Oops. -- Steven
- Previous message (by thread): What python can NOT do?
- Next message (by thread): What python can NOT do?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list