while c = f.read(1)

Greg McIntyre greg at puyo.cjb.net
Mon Aug 22 06:20:12 EDT 2005


That is both clever and useful! I never would have thought of doing
that.

This seems to me like a general way to "workaround" the Python
statement/expression separation woes I've been having, in cases where I
really really want it.

Now, where can I copy this out to so I will be able to find it when the
occasion arises? Hmm... *jot jot jot*

Thanks muchly! :-)




More information about the Python-list mailing list