No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[B]delete a list in text file[/B] well i m having a text file which contain time,user name & id, now if i want to modify the time without affecting the id & user name is it possible? or how i delete that list & enter a new list in that … | |
#!/usr/bin/python import string import re import random import sys import time import fileinput tn = time.time() t = str(tn) ss = "5571" lv = open("/usr/local/https/data/session1.txt","r") lvr = lv.readlines() l_lvr = len(lvr) #print lvr l_list = [] for i in range(l_lvr): test = re.split('\|', lvr[i]) l_list.append(test) #print l_list for u,s,t,sp in … | |
how do i collect ip address of browser to validate him |