ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/learning/groupsimporter.py
Revision: 591
Committed: Tue Nov 3 22:45:12 2015 UTC (10 years, 4 months ago) by nino.borges
Content type: text/x-python
File size: 635 byte(s)
Log Message:
Moved dir out of main dir.

File Contents

# Content
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()