Popular recipes by sami jan http://code.activestate.com/recipes/users/4064232/2012-06-15T15:45:18-07:00ActiveState Code RecipesFind a line of text in another file (Python) 2012-06-15T15:45:18-07:00sami janhttp://code.activestate.com/recipes/users/4064232/http://code.activestate.com/recipes/578164-find-a-line-of-text-in-another-file/ <p style="color: grey"> Python recipe 578164 by <a href="/recipes/users/4064232/">sami jan</a> (<a href="/recipes/tags/line/">line</a>, <a href="/recipes/tags/search/">search</a>). Revision 2. </p> <p>This is a simple recipe - it reads a line in file, removes the line-ending and attempts to search throughout another file for the same line, anywhere in the file</p> <p>In case a line is missing, the line number is printed to stdout</p> comixGetter (Python) 2007-06-24T13:24:47-07:00sami janhttp://code.activestate.com/recipes/users/4064232/http://code.activestate.com/recipes/522983-comixgetter/ <p style="color: grey"> Python recipe 522983 by <a href="/recipes/users/4064232/">sami jan</a> (<a href="/recipes/tags/web/">web</a>). Revision 2. </p> <p>Download daily comics from <a href="http://comics.com" rel="nofollow">comics.com</a> and <a href="http://ucomics/gocomics.com" rel="nofollow">ucomics/gocomics.com</a> e.g. peanuts, dilbert, calvin &amp; hobbes etc.</p>