ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/learning/groupsimporter.py
Revision: 8
Committed: Sat May 5 04:21:19 2012 UTC (13 years, 10 months ago) by ninoborges
Content type: text/x-python
File size: 635 byte(s)
Log Message:
Initial Import

File Contents

# User Rev Content
1 ninoborges 8 # 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()