Program inefficiency?

Michael.Coll-Barth at VerizonWireless.com Michael.Coll-Barth at VerizonWireless.com
Sat Sep 29 15:58:22 EDT 2007


 

> -----Original Message-----
> From: stdazi
> On Sep 29, 6:07 pm, Michael.Coll-Ba... at VerizonWireless.com wrote:
> 
> > You did not mention the OS, but because you are using
> > "pathname\editfile.txt", it sounds like you are using an MS OS.
From
> > past experience with various MS OSes, I found that as the number of
> > files in a directory increases the slower your process runs for each
> > file.  
> 
> how so?
> 

I said "sounds like", which means I was guessing.  In *nix ( the ones I
know ), it would have been "pathname/editfile.txt".  But, it was the
file extension that caught my eye.  I had a project a while back that
required a mass conversion of jpeg files and ran into what sounded like
a similar problem.  


The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure.  If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof.  Thank you.




More information about the Python-list mailing list