![]() |
|
Python search/grep assistance. - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Python (https://sinister.ly/Forum-Python) +--- Thread: Python search/grep assistance. (/Thread-Python-search-grep-assistance) Pages:
1
2
|
RE: Python search/grep assistance. - ProfessorChill - 07-06-2018 (07-06-2018, 04:43 AM)Mimiakira Wrote:(07-06-2018, 04:14 AM)ProfessorChill Wrote:(07-06-2018, 02:53 AM)Mimiakira Wrote: Well, I've searched google first and only came back to "import re" but, I haven't searched on other forums since, people can be dicks. Um... I'm not doing your homework? I'm trying to poke you in the right direction. Maybe you aren't looking for Grep in this case then. After Grep ![]() Before Grep ![]() EDIT this is what .index does btw. if user.index(grep) > -1: doshithere() RE: Python search/grep assistance. - Vultra - 07-06-2018 (07-06-2018, 04:54 AM)ProfessorChill Wrote:(07-06-2018, 04:43 AM)Mimiakira Wrote:(07-06-2018, 04:14 AM)ProfessorChill Wrote: Like this? I've done my time digging and now, I need answers. Not clues. I know what you mean but, I've done that path as well. Are you fluent with python at all because, "grep" isn't part of python although, I wish it was. otherwise, I wouldn't have post this thread lol. The only idea I have is re but, it doesn't do what it should which makes it hard. |