On Friday, April 3, 2015 at 12:40:11 PM UTC-4, Denis McMahon wrote:
> On Thu, 02 Apr 2015 18:30:42 -0700, Saran A wrote:
>
> > Here is the program that I am trying to write (with specs):
>
> Saran, please stop prefacing every subject with "New to programming:" -
> it does not give an clue whatso
On Thu, 02 Apr 2015 18:30:42 -0700, Saran A wrote:
> Here is the program that I am trying to write (with specs):
Saran, please stop prefacing every subject with "New to programming:" -
it does not give an clue whatsoever as to what your post is about.
--
Denis McMahon, denismfmcma...@gmail.com
On 04/03/2015 07:37 AM, Steven D'Aprano wrote:
On Fri, 3 Apr 2015 12:30 pm, Saran A wrote:
#This helper function returns the length of the file
def file_len(f):
with open(f) as f:
for i, l in enumerate(f):
pass
return i + 1
Not as given it doesn't. It w
On Fri, 3 Apr 2015 12:30 pm, Saran A wrote:
> Hello All:
>
> Here is the program that I am trying to write (with specs):
[...]
Do you have an actual question?
If you want a code review of your entire application, the polite thing to do
is to ask for volunteers first, before dropping 200+ lines
Hello All:
Here is the program that I am trying to write (with specs):
* Monitors a folder for files that are dropped throughout the day
* When a file is dropped in the folder the program should scan the file
o IF all the records in the file have the same length (line length)
o THEN the file