I don't know why i entered the below code and it will miss some
records.
Anyone can help me???
users = {}
users1 = {}
while 1:
user, serviceType, msgType, inOut, date, time, numBytes =
aLog.GetNextMessage("")
fullmsg = serviceType + "|" + msgType + "|" + inOut
bytemsg = user + " " + serviceType + " " + msgType + " " + inOut + " "
+ numBytes
user1 = user
msgDict = {}
byteDict = {}
print bytemsg # 53 records in source file
msgDict = users[user] # get the cum statistics for this user
byteDict = users1[user1]
print bytemsg # 50 records in source file
--
http://mail.python.org/mailman/listinfo/python-list