help with simple python 2.6 task - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Python Programming Language (https://www.supportforums.net/forumdisplay.php?fid=32) +---- Thread: help with simple python 2.6 task (/showthread.php?tid=27628) |
help with simple python 2.6 task - cardinalmanjune - 02-02-2013 I need help with a simple python 2.6 programming task. I wish to write a code which needs to search a certain text pattern on multiple text files which are parameters in command line, however the number of input files is not constant and can be any number of files. I do I read in the code a list of files from command line without knowing the size of the list? Also another parameter in command line is a pattern which needs to be skipped during the search. How can skipping a pattern be performed in python? Thank you for your help RE: help with simple python 2.6 task - samsmith001 - 09-30-2019 Thanks for sharing this post.I am very pleased to read this article. |