Re: [Tutor] Installing Python v3 on a laptop Windows 10

2019-06-15 Thread Mats Wichmann
On 6/15/19 3:23 PM, Ken Green wrote:\ You've already gotten some good answers, don't consider this as contradictory. > I understood there is a preferable method > of installing Python into Windows. I pray > tell on how about to do it, gentlemen. There isn't, there are actually many ways, and to

Re: [Tutor] Installing Python v3 on a laptop Windows 10

2019-06-15 Thread eryk sun
On 6/15/19, Alan Gauld via Tutor wrote: > On 15/06/2019 22:23, Ken Green wrote: > >> I understood there is a preferable method >> of installing Python into Windows. I pray >> tell on how about to do it, gentlemen. > > It depends a bit on which python distribution you use, > there are several. > >

Re: [Tutor] Installing Python v3 on a laptop Windows 10

2019-06-15 Thread Alan Gauld via Tutor
On 15/06/2019 22:23, Ken Green wrote: > I understood there is a preferable method > of installing Python into Windows. I pray > tell on how about to do it, gentlemen. It depends a bit on which python distribution you use, there are several. Personally for Windows I always recommend the ActiveSta

Re: [Tutor] Follow-up on my removing elements from lists question.

2019-06-15 Thread David L Neil
On 15/06/19 9:35 PM, mhysnm1...@gmail.com wrote: This is a follow-up on my previous question for removing elements. Below is the code I am currently using. I am removing the elements at the end of the outer loop. The data structure goes along this: [ ['123123',[2019-2-18', 'transaction text',

Re: [Tutor] deleting elements out of a list.

2019-06-15 Thread Alan Gauld via Tutor
On 15/06/2019 05:51, mhysnm1...@gmail.com wrote: Caveat: I'm picking this up late in the day and only had a cursory look at it, so may be missing some critical insight... > I have a list of x number of elements. Some of the elements are have similar > words in them. For example: Define "similar"

[Tutor] Installing Python v3 on a laptop Windows 10

2019-06-15 Thread Ken Green
It has been some 18 months that I last installed Python onto my laptop Windows. Having had freshly completely reinstalled Windows 10 and its various updates. I already installed PSREdit500 successfully several weeks ago, I am now ready to install Python, preferable the latest version of Python 3.

Re: [Tutor] Differences between while and for

2019-06-15 Thread Alan Gauld via Tutor
On 15/06/2019 05:53, mhysnm1...@gmail.com wrote: > In C, Perl and other languages. As a point of interest not all languages have these constructs. Oberon, for example, only has a while loop because it can be used to simulate all other loop types. Some Lisp dialects don't even have a loop constru

Re: [Tutor] Follow-up on my removing elements from lists question.

2019-06-15 Thread Mats Wichmann
On 6/15/19 3:35 AM, mhysnm1...@gmail.com wrote: Data structure: ['123123',[2019-2-18', 'transaction text', 'amount'], I presume the second opening brace is a typo and was supposed to be a quote mark? > The 2nd column where the transaction text I am modifying the content and > using the end re

Re: [Tutor] Follow-up on my removing elements from lists question.

2019-06-15 Thread Alex Kleider
On 2019-06-15 02:35, mhysnm1...@gmail.com wrote: This is a follow-up on my previous question for removing elements. Below is the code I am currently using. I am removing the elements at the end of the outer loop. The data structure goes along this: [ ['123123',[2019-2-18', 'transaction te

[Tutor] Follow-up on my removing elements from lists question.

2019-06-15 Thread mhysnm1964
This is a follow-up on my previous question for removing elements. Below is the code I am currently using. I am removing the elements at the end of the outer loop. The data structure goes along this: [ ['123123',[2019-2-18', 'transaction text', 'amount'], v ['123123',[2019-2-18', 'transac

Re: [Tutor] Differences between while and for

2019-06-15 Thread Cameron Simpson
On 15Jun2019 14:53, Sean Murphy wrote: In C, Perl and other languages. While only uses a conditional statement and for uses an iteration. In python while and for seems to be the same and I cannot see the difference. No, they're really much as in other languages. In general (most languages),

Re: [Tutor] deleting elements out of a list.

2019-06-15 Thread Cameron Simpson
On 15Jun2019 14:51, Sean Murphy wrote: I am not sure how to tackle this issue. I am using Windows 10 and Python 3.6 from Activestate. I have a list of x number of elements. Some of the elements are have similar words in them. For example: Dog food Pal Dog Food Pal qx1323 Cat food kitty Absolu

Re: [Tutor] Differences between while and for

2019-06-15 Thread Steven D'Aprano
On Sat, Jun 15, 2019 at 02:53:43PM +1000, mhysnm1...@gmail.com wrote: > All, > > > > In C, Perl and other languages. While only uses a conditional statement and > for uses an iteration. In python while and for seems to be the same and I > cannot see the difference. Python ``while`` uses a cond