deleting a line from a file
, 1); untie @file; close DATA; (when the first argument of the function ($_[0]) is a number of the line which should be deleted) Is there some easy way how to delete a line from a middle of a file in Python? Thanks a lot eMko -- http://mail.python.org/mailman/listinfo/python-list
Re: find string in file
An of course, you can use a regular expression. (Module "re"). -- http://mail.python.org/mailman/listinfo/python-list