WoW ! very very suggest record type for later pythonista learnning ;-) On Tue, Dec 6, 2016 at 9:39 AM, Edward K. Ream <[email protected]> wrote: > On Tue, Dec 6, 2016 at 9:25 AM, Edward K. Ream <[email protected]> wrote: > >> Furthermore, I want to leave c2py exactly as it was when I first wrote it. >> No docstrings, sub-optimal use of Python's string split/join functions, etc. >> Newbies take note: your first efforts don't have to be perfect. > > > Heh. The thing about posting is that the background mind immediately starts > to second guess it :-) > > I do want to revise the code. The old code can be retained somewhere for > reference, probably in the attic. But revising this code would be > instructive: > > - Python 3 compatibility. > - g.trace instead of print. > - Docstrings instead of @...@c. > - Use lines = s.splitlines(False) throughout, eliminating related cruft. > - @test instead of ad-hoc test code. > > Not urgent, but it's been on my mind our discussion of s.splitlines and > s.isspace. > > EKR > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/leo-editor. > For more options, visit https://groups.google.com/d/optout.
-- life is pathetic, go Pythonic! 人生苦短, Python当歌! 俺: http://zoomquiet.io 授: http://creativecommons.org/licenses/by-sa/2.5/cn/ 怒: 冗余不做,日子甭过!备份不做,十恶不赦! KM keep growing environment culture which promoting organization be learnning! -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
