Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Python (http://www.domainnameforum.org/forumdisplay.php?f=138)
-   -   Searching .txt Files for Consecutive Elements of a List (http://www.domainnameforum.org/showthread.php?t=151991)

Python 03-25-2011 06:47 PM

Searching .txt Files for Consecutive Elements of a List
 
Hi! I'm working on code for a personal project thingie, and I'm stumped by part of it. I am trying to search a line (provided in a separate .txt file) to see if I can find any consecutive occurrences of elements of a list in said line. For example: in my list are words like "is" and "young." I...


All times are GMT -4. The time now is 03:03 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.