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

File Contents

# Content
1 ## 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]