ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/learning/searchwithfind.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: 301 byte(s)
Log Message:
Initial Import

File Contents

# Content
1 import os
2 file=open('u:/wuurlsection.txt', 'r')
3 contents = file.readlines()
4 print contents
5 parm = "WUUrlSection"
6 test = parm in contents
7 print test
8
9 #file = "u:/wuurlsection.txt"
10 #os.system("set test = test3")
11 print file
12 #len(contents)
13 #os.system('find /i "wuurlsection"')
14 #file.close()