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

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