yet another list compr. suggestion

2006-01-22 Thread palo
I appologize for suggesting (though very humbly) a syntax extension (maybe particularly idiotic) but just as a wild fantasy, what would you think about this: as a substitute for filter, people often use [x for x in y if z(x)] The suggestion is that the same result could be achieved by [x in y if z(

Re: yet another list compr. suggestion

2006-01-22 Thread palo
you'd save more characters in [not_very_convenient_name for not_very_convenient_name in y if z] (just kidding) -- http://mail.python.org/mailman/listinfo/python-list

Re: yet another list compr. suggestion

2006-01-22 Thread palo
you'd save more in [not_very_convenient_name for not_very_convenient_name in y if z] (just kidding) -- http://mail.python.org/mailman/listinfo/python-list

choose and open a folder in Windows

2006-02-15 Thread palo
Hello I wrote a little script (that will be used only under Windows if at all) where the user should choose a directory and the script will then process some data files in the directory and write the result there. To make it a bit more pleasant, it would be nice if the directory were chosen by the

Re: choose and open a folder in Windows

2006-02-15 Thread palo
thanks a lot, it works and sorry for intelligent questions:) -- http://mail.python.org/mailman/listinfo/python-list