Re: [Tutor] I want to learn how memory works!

2017-09-30 Thread Alan Gauld via Tutor
On 29/09/17 19:47, Michael C wrote: > Could you point me to a source of information about all the things someone > should know before he starts writing a memory scanner? Not a single source but wikipedia is a good start for anything technical. In particular you need to understand the

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

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

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

Re: [Tutor] Directory Structure

2017-09-30 Thread Chris
Thank you for your detailed reply! I've tried to explain in my mails to Alan and Mats what I'm trying to achieve. On Sat, 30 Sep 2017 11:32:57 +1000 Steven D'Aprano wrote: > On Fri, Sep 29, 2017 at 07:02:07PM +0200, Chris wrote: > > > Background: Maildirs with mails older

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

[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

[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

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

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

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