Re: [Dorset] Error in Python - UnsupportedOperation: fileno

2017-06-07 Thread Terry Coles
On Wednesday, 7 June 2017 13:43:17 BST Ralph Corderoy wrote: > awk's a lot smaller language than Python, correspondingly simpler to > learn, and sufficient for many little text processing needs with more > brief source than the Python equivalent. So little skill in comparison > is required. :-)

Re: [Dorset] Last Night's Meeting

2017-06-07 Thread Terry Coles
On Wednesday, 7 June 2017 12:48:10 BST Ralph Corderoy wrote: > Terry was finding pylint disliked how he named his global variables. > https://www.python.org/dev/peps/pep-0008/#naming-conventions was > mentioned. It seems to say lower_case_with_underscores for those. Yes. I see that. Interesting

Re: [Dorset] Error in Python - UnsupportedOperation: fileno

2017-06-07 Thread Ralph Corderoy
Hi Terry, > > And if all else fails, print the information out and post-analyse it > > with a little awk(1); a custom throw-away debugger. > > Another tool that takes some skill to understand. awk's a lot smaller language than Python, correspondingly simpler to learn, and sufficient for many lit

Re: [Dorset] Last Night's Meeting

2017-06-07 Thread PeterMerchant via dorset
On 07/06/17 12:48, Ralph Corderoy wrote: Hi, Tim wrote: We talked a little about Python's debugger, pdb, and its short-comings. Turns out that it *does* have a "display" command to show the value of an expression each time it stops, but only since Python 3.2: https://docs.python.org/3/library/p

Re: [Dorset] Last Night's Meeting

2017-06-07 Thread Ralph Corderoy
Hi, Tim wrote: > We talked a little about Python's debugger, pdb, and its > short-comings. Turns out that it *does* have a "display" command to > show the value of an expression each time it stops, but only since > Python 3.2: > https://docs.python.org/3/library/pdb.html#pdbcommand-display $

Re: [Dorset] Last Night's Meeting

2017-06-07 Thread Tim Waugh
On 7 June 2017 at 11:49, Ralph Corderoy wrote: > Python's interpreter's `>>>' prompt is an example of a REPL. > https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop > Perl's is its debugger's: perl -de1 We talked a little about Python's debugger, pdb, and its short-comings. Turns o

Re: [Dorset] Last Night's Meeting

2017-06-07 Thread Ralph Corderoy
Hi Terry, > What I did catch though was the discussion about Python IDEs and the Eric > tool. https://eric-ide.python-projects.org/ Some other things that were mentioned. Python's interpreter's `>>>' prompt is an example of a REPL. https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_

[Dorset] Last Night's Meeting

2017-06-07 Thread Terry Coles
Hi, We were a bit sparse last night with only five of us, but there seemed to be plenty to discuss. I missed quite a bit from the other side of the table (Paul was trying to configure OpenMeeting on our side), so perhaps someone can fill in some of the blanks. What I did catch though was the