Asad,
Like many projects, there may be many ways to do things BUT some rules do
apply.
You can only read an open file ONCE unless you seek back to the beginning or
reopen it.
string = f3.read()
string1 = f3.readlines()
The first line reads the entire file into a single buffer.
The second progr
On 12Nov2018 07:24, Asad wrote:
Thanks for the reply . I am building a framework for the two
error
conditions, therefore I need to read and readlines because in one only
regex is required and in other regex+ n-1 line is required to process :
#Here we are opening the file and substi
On Mon, Nov 12, 2018 at 04:44:17PM +0530, Asad wrote:
> Hi All ,
>
> I am creating a python script to analyze the log and provide a
> solution , in the solution part I want to include a document and create a
> hyperlink to the document so that its clickable .
> I have python 2.6.6 cannot u
On Mon, Nov 12, 2018 at 04:44:17PM +0530, Asad wrote:
> Hi All ,
>
> I am creating a python script to analyze the log and provide a
> solution , in the solution part I want to include a document and create a
> hyperlink to the document so that its clickable .
> I have python 2.6.6 cannot u