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 have a clear output which i will latter export to an excel
file.
Thanks a lot.



Regards,
Kanja Edward.
P.O.BOX 1203-00300,
NAIROBI.
*+254720724793*
www.linkedin.com/in/edward-kanja-bba16a106 <http://linkeldin/>


On Mon, Mar 4, 2019 at 2:44 PM Edward Kanja <edwardkanja...@gmail.com>
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.The regular expression works fine but
> my output has too many square brackets. How do i do away with them thanks.
>
>
>
> Regards,
> Kanja Edward.
> P.O.BOX 1203-00300,
> NAIROBI.
> *+254720724793*
> www.linkedin.com/in/edward-kanja-bba16a106 <http://linkeldin/>
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to