Re: [Tutor] Python programming for the absolute beginner

2017-09-30 Thread boB Stepp
On Fri, Sep 29, 2017 at 1:20 PM, Alan Gauld via Tutor wrote: > On 29/09/17 08:51, Peter Collidge wrote: >> I have borrowed the above book from my local library but I believe it was >> written in 2010 and as a result I am having difficulty in deciding which >> version of Python to download. >> Can

Re: [Tutor] OT: how to best follow the posting style on this list

2017-09-30 Thread boB Stepp
On Fri, Sep 29, 2017 at 9:55 AM, Albert-Jan Roskam wrote: > > Hi, > > I often read messages to this list from my Android from the mobile Hotmail > page. On other occasions I would read from my browser, from a Windows or a > Linux desktop. Howver, Hotmail pretty much sucks when it comes to obeyin

Re: [Tutor] OT: how to best follow the posting style on this list

2017-09-30 Thread Mats Wichmann
On 09/30/2017 08:37 AM, boB Stepp wrote: > On Fri, Sep 29, 2017 at 9:55 AM, Albert-Jan Roskam > wrote: >> >> Hi, >> >> I often read messages to this list from my Android from the mobile Hotmail >> page. On other occasions I would read from my browser, from a Windows or a >> Linux desktop. Howver

[Tutor] Most common words in a text file

2017-09-30 Thread Sri G.
I'm learning programming with Python. I’ve written the code below for finding the most common words in a text file that has about 1.1 million words. It's working fine, but I believe there is always room for improvement. When run, the function in the script gets a text file from the command-line a

Re: [Tutor] Most common words in a text file

2017-09-30 Thread Cameron Simpson
On 30Sep2017 22:42, Sri G. wrote: I’ve written the code below for finding the most common words in a text file that has about 1.1 million words. It's working fine, but I believe there is always room for improvement. When run, the function in the script gets a text file from the command-line arg

Re: [Tutor] Directory Structure

2017-09-30 Thread Cameron Simpson
On 30Sep2017 07:35, Chris wrote: On Sat, 30 Sep 2017 00:23:45 +0100 Alan Gauld via Tutor wrote: If you really need it in memory there are some generic modules for building tree structures in memory - you will need to define the mail objects of course the modules are data neutral, they just all

Re: [Tutor] logging to cmd.exe

2017-09-30 Thread boB Stepp
On Tue, Sep 26, 2017 at 6:22 AM, Albert-Jan Roskam wrote: > PS: sorry about the missing quote (>>) markers. Hotmail can't do this. Is > Gmail better? Yeah, in Gmail it will handle the quote markers when doing plain text. -- boB ___ Tutor maillist

[Tutor] Am I missing something obvious about "FizzBuzz"?

2017-09-30 Thread boB Stepp
On the main Python list there is a thread entitled, "Beginners and experts (Batchelder blog post)", and Stefan Ram mentioned: "... The fact that programmers can't program is known since the invention of the "FizzBuzz" programmer test. ..." I vaguely recall seeing some reference to "FizzBuzz" in m

Re: [Tutor] Am I missing something obvious about "FizzBuzz"?

2017-09-30 Thread Steven D'Aprano
On Sun, Oct 01, 2017 at 12:09:55AM -0500, boB Stepp wrote: > If I understand the problem correctly, this gives the desired result. > I would have had this in < 30 seconds if I did not stop at each stage > and verified I was getting my expected result. I don't claim to be a > *real* programmer and

Re: [Tutor] Am I missing something obvious about "FizzBuzz"?

2017-09-30 Thread boB Stepp
On Sun, Oct 1, 2017 at 12:32 AM, Steven D'Aprano wrote: > On Sun, Oct 01, 2017 at 12:09:55AM -0500, boB Stepp wrote: > >> If I understand the problem correctly, this gives the desired result. >> I would have had this in < 30 seconds if I did not stop at each stage >> and verified I was getting my