| 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/searchwithfind.py |
| File size: | 301 byte(s) |
| Log Message: | Initial Import |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | ninoborges | 8 | 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() |