| 1 |
# This program will attempt to create SMS importable groups by comparing an
|
| 2 |
# exported NT group file to a matrix of all machines at the firm with their
|
| 3 |
# respective SMS ID's.
|
| 4 |
# Eaborges
|
| 5 |
#10.25.01
|
| 6 |
|
| 7 |
f=open("c:/testing/group.txt",'r')
|
| 8 |
g=open("c:/testing/biglist.csv",'r')
|
| 9 |
for x in f.readlines():
|
| 10 |
print x
|
| 11 |
#group=f.readline()
|
| 12 |
for y in g.readlines():
|
| 13 |
biglist =g.readlines()
|
| 14 |
print biglist
|
| 15 |
if x == biglist:
|
| 16 |
print "found one\a"
|
| 17 |
final=open("c:/testing/endresult.txt",'a')
|
| 18 |
final.writelines(biglist)
|
| 19 |
break
|
| 20 |
f.close()
|
| 21 |
g.close()
|
| 22 |
#final.close()
|