A S writes:
> I understand that reading lines in .txt files would look something like this
> in Python:
>
>
> with open('filename','r') as fd:
>lines = fd.readlines()
>
>
> However, how do I run my code to only read the words in my .txt files that
> are within each balanced parenthesis?
>
>
A S wrote:
> I understand that reading lines in .txt files would look something like
> this in Python:
>
>
> with open('filename','r') as fd:
>lines = fd.readlines()
>
>
> However, how do I run my code to only read the words in my .txt files that
> are within each balanced parenthesis?
>
I understand that reading lines in .txt files would look something like this in
Python:
with open('filename','r') as fd:
lines = fd.readlines()
However, how do I run my code to only read the words in my .txt files that are
within each balanced parenthesis?
I am not sure how to go about it