|
-
Jan 9th, 2006, 07:42 AM
#1
h4x0r
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
#!/usr/bin/python
list = []
cern_file = open("a6", "r")
cern_list = cern_file.readlines()
cern_file.close()
for lines in cern_list:
list.append(lines.split(';'))
herna = 0
for lines in list:
for numbers in range(herna + 1, len(cern_list)):
if (list[numbers][1] == lines[1]):
print lines[0] + ";" + lines[1] + ";" + lines[2] + ";" + lines[3]
print list[numbers][0] + ";" + list[numbers][1] + ";" + list[numbers][2] + ";" + list[numbers][3]
herna += 1
Last edited by NoteMe; Jan 9th, 2006 at 07:52 AM.
-
Jan 9th, 2006, 10:24 AM
#2
Re: h4x0r
...Ant that my friends is how the nuclear bomb was borugh into existance, any questions ?
-
Jan 9th, 2006, 10:42 AM
#3
-
Jan 10th, 2006, 07:08 PM
#4
Re: h4x0r
Never used Phthon EVER before, but my quick guess is splitting a file into an array of some sorts, then sorting it through and adding more items.
Just a quick guess tho :S
What does it do ?
-
Jan 11th, 2006, 01:20 AM
#5
Re: h4x0r
Don't use Python. Use Cobra. It's much efficient.
-
Jan 11th, 2006, 04:44 AM
#6
Re: h4x0r
 Originally Posted by iPrank
Don't use Python. Use Cobra. It's much efficient.
No way...
-
Jan 11th, 2006, 04:45 AM
#7
Re: h4x0r
 Originally Posted by thegreatone
Never used Phthon EVER before, but my quick guess is splitting a file into an array of some sorts, then sorting it through and adding more items.
Just a quick guess tho :S
What does it do ?
Opens a file
split it up in an array
check if two entries in the arrays are the same for one field,
if so, then print them out...
-
Jan 11th, 2006, 05:26 AM
#8
Re: h4x0r
So, i suppose it wasn't such a bad guess from me then ? hehe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|