Re: [Tutor] My problem in simple terms

2019-03-22 Thread Mats Wichmann
On 3/21/19 11:54 PM, Edward Kanja wrote: > Greetings, > I'm referring to my question i sent earlier, kindly if you have a hint on > how i can solve > my problem i will really appreciate. After running regular expressions > using python > my output has lot of square brackets i.e. [][][][][][][][][].

Re: [Tutor] My problem in simple terms

2019-03-22 Thread Edward Kanja
Greetings, I'm referring to my question i sent earlier, kindly if you have a hint on how i can solve my problem i will really appreciate. After running regular expressions using python my output has lot of square brackets i.e. [][][][][][][][][]. How do i substitute this with empty string so as to

Re: [Tutor] My problem in simple terms

2019-03-04 Thread Peter Otten
Edward Kanja wrote: > Hi there , > Earlier i had sent an email on how to use re.sub function to eliminate > square brackets. I have simplified the statements. Attached txt file named > unon.Txt has the data im extracting from. The file named code.txt has the > codes I'm using to extract the data.T

Re: [Tutor] My problem in simple terms

2019-03-04 Thread Alan Gauld via Tutor
On 04/03/2019 11:44, Edward Kanja wrote: > Hi there , > Earlier i had sent an email on how to use re.sub function to eliminate > square brackets. I have simplified the statements. Attached txt file named > unon.Txt has the data im extracting from. Thankyou, that's much better. Although the code i