Re: [Tutor] Problem creating a search

2010-01-31 Thread spir
On Sat, 30 Jan 2010 19:45:04 -0600 Luke Paireepinart wrote: > The key here is the "for line in infile" will not keep the whole file in > memory ... provided the file is structured in lines. (Also, the searched term should not be nore hold a newline). Denis la

Re: [Tutor] Problem creating a search

2010-01-30 Thread Luke Paireepinart
On Sat, Jan 30, 2010 at 4:42 PM, Shashwat Anand wrote: > > > On Sun, Jan 31, 2010 at 3:47 AM, jim serson wrote: > >> Hi I am pretty new to python and programming in general. I am trying to >> create a search that takes a user input for a file location and user input >> to find a group of numbers

Re: [Tutor] Problem creating a search

2010-01-30 Thread Shashwat Anand
On Sun, Jan 31, 2010 at 3:47 AM, jim serson wrote: > Hi I am pretty new to python and programming in general. I am trying to > create a search that takes a user input for a file location and user input > to find a group of numbers or a phrase in that file count how many times it > appears then d

[Tutor] Problem creating a search

2010-01-30 Thread jim serson
Hi I am pretty new to python and programming in general. I am trying to create a search that takes a user input for a file location and user input to find a group of numbers or a phrase in that file count how many times it appears then display it. I have gone through a tutorials and searched I/