![]() |
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.