Re: Extract sentences in nested parentheses using Python

2019-12-05 Thread A S
On Tuesday, 3 December 2019 23:48:21 UTC+8, Peter Otten wrote: > A S wrote: > > > On Tuesday, 3 December 2019 01:01:25 UTC+8, Peter Otten wrote: > >> A S wrote: > >> > >> I think I've seen this question before ;) > >> > >> > I am trying to extract all strings in nested parentheses (along with

Re: Extract sentences in nested parentheses using Python

2019-12-05 Thread A S
On Tuesday, 3 December 2019 06:22:52 UTC+8, DL Neil wrote: > On 3/12/19 6:00 AM, Peter Otten wrote: > > A S wrote: > > I think I've seen this question before ;) > > In addition to 'other reasons' for @Peter's comment, it is a common > ComSc worked-problem or assignment. (in which case, we'd appr

Re: Extract sentences in nested parentheses using Python

2019-12-03 Thread Peter Otten
A S wrote: > On Tuesday, 3 December 2019 01:01:25 UTC+8, Peter Otten wrote: >> A S wrote: >> >> I think I've seen this question before ;) >> >> > I am trying to extract all strings in nested parentheses (along with >> > the parentheses itself) in my .txt file. Please see the sample .txt >> > fi

Re: Extract sentences in nested parentheses using Python

2019-12-03 Thread A S
On Tuesday, 3 December 2019 01:01:25 UTC+8, Peter Otten wrote: > A S wrote: > > I think I've seen this question before ;) > > > I am trying to extract all strings in nested parentheses (along with the > > parentheses itself) in my .txt file. Please see the sample .txt file that > > I have used i

Re: Extract sentences in nested parentheses using Python

2019-12-02 Thread DL Neil via Python-list
On 3/12/19 6:00 AM, Peter Otten wrote: A S wrote: I think I've seen this question before ;) In addition to 'other reasons' for @Peter's comment, it is a common ComSc worked-problem or assignment. (in which case, we'd appreciate being told that you/OP is asking for help with "homework") I

Re: Extract sentences in nested parentheses using Python

2019-12-02 Thread Peter Otten
A S wrote: I think I've seen this question before ;) > I am trying to extract all strings in nested parentheses (along with the > parentheses itself) in my .txt file. Please see the sample .txt file that > I have used in this example here: > (https://drive.google.com/open?id=1UKc0ZgY9Fsz5O1rSeBCL

Extract sentences in nested parentheses using Python

2019-12-02 Thread A S
I am trying to extract all strings in nested parentheses (along with the parentheses itself) in my .txt file. Please see the sample .txt file that I have used in this example here: (https://drive.google.com/open?id=1UKc0ZgY9Fsz5O1rSeBCLqt5dwZkMaQgr). I have tried and done up three different cod