thanks, I was able 'using pdb' to fix the problem as per Edward's
suggestion.
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday 14 May 2006 05:09, Gary Wessle wrote:
> Hi
>
> I am looping through a directory and appending all the files in one
> huge file, the codes below should give the same end results but are
> not, I don't understand why the first code is not doing it.
>
> thanks
>
Hi there - I think you might
Gary Wessle wrote:
> I am looping through a directory and appending all the files in one
> huge file, the codes below should give the same end results but are
> not, I don't understand why the first code is not doing it.
another bit of friendly advice (for others as well): learn to use pdb before
Gary Wessle wrote:
> I am looping through a directory and appending all the files in one
> huge file, the codes below should give the same end results but are
> not, I don't understand why the first code is not doing it.
>
> combined = open(outputFile, 'wb')
> for name in flist:
> if os.path.
Hi
I am looping through a directory and appending all the files in one
huge file, the codes below should give the same end results but are
not, I don't understand why the first code is not doing it.
thanks
combined = open(outputFile, 'wb')
for name in flist:
if os.path.isdir(file): continu