Re: [Tutor] Iteration issues

2018-05-10 Thread Albert-Jan Roskam
Verzonden vanaf mijn Samsung Galaxy-smartphone. Oorspronkelijk bericht Van: boB Stepp Datum: 10-05-18 21:53 (GMT+08:00) Aan: tutor Onderwerp: Re: [Tutor] Iteration issues On Wed, May 9, 2018 at 6:27 PM, Roger Lea Scherer wrote: > Hello, again. > > I want to count words in

Re: [Tutor] Iteration issues

2018-05-10 Thread Mats Wichmann
On 05/09/2018 05:27 PM, Roger Lea Scherer wrote: > Hello, again. > > I want to count words in a text file. If a word repeats I want to increase > the count by 1; if the word is new to the dictionary, I want to add the > word to the dictionary. Everything works like I would like and expect, > excep

Re: [Tutor] How to maximize a window in tkinter

2018-05-10 Thread Alan Gauld via Tutor
On 10 May 2018, at 16:52, emanuel sandoval wrote: >I want to know how to maximize a window in tkinter. There are several options, of which your solution is probably the best! The others involve setting the window position to top left and the width and height to the screen size. All the sol

[Tutor] How to maximize a window in tkinter

2018-05-10 Thread emanuel sandoval
I want to know how to maximize a window in tkinter. I was using something like: root =Tk() root.status("zoomed") But I want to know another way to do it. Thank you. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

Re: [Tutor] Iteration issues

2018-05-10 Thread boB Stepp
On Wed, May 9, 2018 at 6:27 PM, Roger Lea Scherer wrote: > Hello, again. > > I want to count words in a text file. If a word repeats I want to increase > the count by 1; if the word is new to the dictionary, I want to add the > word to the dictionary. Everything works like I would like and expect,

Re: [Tutor] Choice of tools

2018-05-10 Thread Mats Wichmann
On 05/09/2018 03:10 AM, Brad M wrote: > Hi all, I have a question about how to choose a proper IDE for C/C++ > > I have been using visual studio ever since my C++ 101 days, but now I > realized there is a problem: feature lock-in! > > As an aside, I can't get "Error squiggles" to show up in my .c

Re: [Tutor] Iteration issues

2018-05-10 Thread Mats Wichmann
On 05/09/2018 05:27 PM, Roger Lea Scherer wrote: > Hello, again. > > I want to count words in a text file. If a word repeats I want to increase > the count by 1; if the word is new to the dictionary, I want to add the > word to the dictionary. Everything works like I would like and expect, > excep

Re: [Tutor] Iteration issues

2018-05-10 Thread boB Stepp
Greetings! On Wed, May 9, 2018 at 6:27 PM, Roger Lea Scherer wrote: > Hello, again. > > I want to count words in a text file. If a word repeats I want to increase > the count by 1; if the word is new to the dictionary, I want to add the > word to the dictionary. Everything works like I would like

Re: [Tutor] Append to list

2018-05-10 Thread Mats Wichmann
On 05/09/2018 11:56 AM, Rick Jaramillo wrote: > > Hello, > > I’m having trouble understanding the following behavior and would greatly > appreciate any insight. > > l = [1,2,3,4] > b=[] > > for i in range(l): > print l > b.append(l) > l.pop(0) > > print b You've had some other c

Re: [Tutor] Choice of tools

2018-05-10 Thread Brad M
Ya I am using that and the command line to compile at this point before I can get VS to work for me again. Thanks!! On Thu, May 10, 2018 at 4:32 PM, Mark Lawrence wrote: > On 09/05/18 10:10, Brad M wrote: > >> Hi all, I have a question about how to choose a proper IDE for C/C++ >> >> I have been

[Tutor] Iteration issues

2018-05-10 Thread Roger Lea Scherer
Hello, again. I want to count words in a text file. If a word repeats I want to increase the count by 1; if the word is new to the dictionary, I want to add the word to the dictionary. Everything works like I would like and expect, except for it only adds the last word of each line to the dictiona

Re: [Tutor] Choice of tools

2018-05-10 Thread Mark Lawrence
On 09/05/18 10:10, Brad M wrote: Hi all, I have a question about how to choose a proper IDE for C/C++ I have been using visual studio ever since my C++ 101 days, but now I realized there is a problem: feature lock-in! As an aside, I can't get "Error squiggles" to show up in my .c project in vis