| 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: | 306 byte(s) |
| Log Message: | Moved dir out of main dir. |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | ninoborges | 8 | ## This program will take a file of user names, run pn on them |
| 2 | ## and put those results into a text file. | ||
| 3 | |||
| 4 | import sys, string | ||
| 5 | |||
| 6 | f=open("c:\\personal_mdb_all.log", "r") | ||
| 7 | contents = f.readlines() | ||
| 8 | f.close() | ||
| 9 | print len(contents) | ||
| 10 | for item in contents: | ||
| 11 | itemo = string.split(item) | ||
| 12 | print itemo[0] |