Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Python (http://www.domainnameforum.org/forumdisplay.php?f=138)
-   -   Stuck in IndexError: list index out of range (http://www.domainnameforum.org/showthread.php?t=118557)

Python 08-21-2010 04:53 AM

Stuck in IndexError: list index out of range
 
I'm quite new in Python. I've been trying to solve this IndexError but couldn't get the answer yet. Need you guys advice or help. I want to extract the sentence matched with the keyword strSearch from 5gm-007 file(just text file). The error occured in "str5gram = lines[a]". here is the code....


All times are GMT -4. The time now is 02:00 PM.

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