<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sch=
emas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1631743290;
        mso-list-type:hybrid;
        mso-list-template-ids:1128830126 67698689 67698691 67698693 67698689 676986=
91 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:10=
.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'=
font-size:
12.0pt'>Hi all,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'=
font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'=
font-size:
12.0pt'>I have couple of double on python futures .Quires listed below:<o:p>=
</o:p></span></font></p>

<ul style=3D'margin-top:0in' type=3Ddisc>
 <li class=3DMsoNormal style=3D'mso-list:l0 level1 lfo1'><font size=3D3
     face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>How to write=
 a particular
     &nbsp;string with required/selected color in a file with python.net?<o:=
p></o:p></span></font></li>
</ul>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 face=3D"Time=
s New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;Which module I need to use it? How to set c=
olor
for particular string in file? <o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 face=3D"Time=
s New Roman"><span
style=3D'font-size:12.0pt'>---------------------------------<o:p></o:p></spa=
n></font></p>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 face=3D"Time=
s New Roman"><span
style=3D'font-size:12.0pt'>file=3Dopen(&quot;C:\\test\\TestResult.txt&quot;,=
&quot;w&quot;)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 face=3D"Time=
s New Roman"><span
style=3D'font-size:12.0pt'>file.writelines(&quot;testcase1&nbsp; pass \n&quo=
t;)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 face=3D"Time=
s New Roman"><span
style=3D'font-size:12.0pt'>file.writelines(&quot;testcase2 &nbsp;Faile \n&qu=
ot;)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 face=3D"Time=
s New Roman"><span
style=3D'font-size:12.0pt'>file.close()<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 face=3D"Time=
s New Roman"><span
style=3D'font-size:12.0pt'>-----------------------------<o:p></o:p></span></=
font></p>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 face=3D"Time=
s New Roman"><span
style=3D'font-size:12.0pt'>I want output like this in file:<o:p></o:p></span=
></font></p>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 face=3D"Time=
s New Roman"><span
style=3D'font-size:12.0pt'>testcase1&nbsp; <font color=3D"#339966"><span
style=3D'color:#339966'>pass </span></font>&nbsp;<o:p></o:p></span></font></=
p>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 face=3D"Time=
s New Roman"><span
style=3D'font-size:12.0pt'>testcase2 &nbsp;<font color=3Dred><span
style=3D'color:red'>Faile<o:p></o:p></span></font></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New Roman"><=
span
style=3D'font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p>

<ul style=3D'margin-top:0in' type=3Ddisc>
 <li class=3DMsoNormal style=3D'color:black;mso-list:l0 level1 lfo1'><font s=
ize=3D3
     color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'=
>How to
     create .exe file in python.net?<o:p></o:p></span></font></li>
</ul>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 color=3Dblac=
k
face=3D"Times New Roman"><span style=3D'font-size:12.0pt;color:black'>I have=
 tried
with py2exe module but it is not supporting with python.net <o:p></o:p></spa=
n></font></p>

<p class=3DMsoNormal style=3D'margin-left:.25in'><font size=3D3 color=3Dblac=
k
face=3D"Times New Roman"><span style=3D'font-size:12.0pt;color:black'><o:p>&=
nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New Roman"><=
span
style=3D'font-size:12.0pt;color:black'>if anyone have any information or cod=
e on
the same queries plz send it. thanks in advance.<o:p></o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New Roman"><=
span
style=3D'font-size:12.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New Roman"><=
span
style=3D'font-size:12.0pt;color:black'>Regards,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New Roman"><=
span
style=3D'font-size:12.0pt;color:black'>sambu<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D'=
font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

_____________________________________________________________________ =0A=
<br> <br>=0A=
This e-mail message may contain proprietary, confidential or legally privile=
ged information for the sole use of the person or entity to whom this messag=
e was originally addressed. Any review, e-transmission dissemination or othe=
r use of or taking of any action in reliance upon this information by person=
s or entities other than the intended recipient is prohibited. If you have r=
eceived this e-mail in error kindly delete this e-mail from your records. If=
 it appears that this mail has been forwarded to you without proper authorit=
y, please notify us immediately at netadmin@patni.com and delete this mail.=
 <br>=0A=
_____________________________________________________________________</body>

</html>