Linux shell to python
Mark Lawrence
breamoreboy at yahoo.co.uk
Tue Jul 31 03:15:32 EDT 2012
More information about the Python-list mailing list
Tue Jul 31 03:15:32 EDT 2012
- Previous message (by thread): Linux shell to python
- Next message (by thread): Linux shell to python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 31/07/2012 02:20, Dennis Lee Bieber wrote: > On Mon, 30 Jul 2012 22:56:48 +0000, Dan Stromberg <drsalists at gmail.com> > declaimed the following in gmane.comp.python.general: > > >> Sigh, and I'm also not keen on multi-line list comprehensions, specifically >> because I think they tend to make less readable code. It also becomes a >> mess when you need to insert print statements to get some visibility into >> what's going on. > > Cleanly splitting the list-comp by > > [ result-computation > for-item-selection-clause > if-filter-clause ] > > isn't that unreadable... But anyone doing > > [ result- > -computation for-item- > -selection-clause if- > -filter- > -clause ] > > should be pecked to death by a dead parrot. > Any particular species? -- Cheers. Mark Lawrence.
- Previous message (by thread): Linux shell to python
- Next message (by thread): Linux shell to python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list