syntax enhancement
Valiev Sergey
svaliev at gmail.com
Tue Oct 4 09:50:27 EDT 2011
More information about the Python-list mailing list
Tue Oct 4 09:50:27 EDT 2011
- Previous message (by thread): recommend a graphics library for plotting by the pixel?
- Next message (by thread): syntax enhancement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, you may found this idea stupid, but nevertheless... - `[]` - used for list comprehension, - `()` - used for generators, - `[start:stop]` / `[start:stop:step]` - used for slices. The idea is to use `(start:stop)` / `(start:stop:step)` as 'lazy evaluated' slices (like itertools.islice). What do you think about it? -- Best regards, Valiev Sergey *skype:* *svaliev* *jabber:* *svaliev at gmail.com* *phone:* +7 926 233-17-64 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20111004/285f463f/attachment.html>
- Previous message (by thread): recommend a graphics library for plotting by the pixel?
- Next message (by thread): syntax enhancement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list