Re: [Tutor] iterating through a directory

2015-09-09 Thread Mark Lawrence
On 09/09/2015 14:32, richard kappler wrote: Yes, many questions today. I'm working on a data feed script that feeds 'events' into our test environment. In production, we monitor a camera that captures an image as product passes by, gathers information such as barcodes and package ID from the imag

Re: [Tutor] iterating through a directory

2015-09-09 Thread Alan Gauld
On 09/09/15 15:29, richard kappler wrote: Still not sure how to efficiently get the script to keep moving to the next file in the directory though, in other words, for each iteration in the loop, I want it to fetch, rename and send/save the next image in line. Hope that brings better understandi

Re: [Tutor] iterating through a directory

2015-09-09 Thread richard kappler
-0400 > > From: richkapp...@gmail.com > > To: tutor@python.org > > Subject: [Tutor] iterating through a directory > > > > > Yes, many questions today. I'm working on a data feed script that feeds > > 'events' into our test environment. In production,

Re: [Tutor] iterating through a directory

2015-09-09 Thread Albert-Jan Roskam
> Date: Wed, 9 Sep 2015 09:32:34 -0400 > From: richkapp...@gmail.com > To: tutor@python.org > Subject: [Tutor] iterating through a directory > > Yes, many questions today. I'm working on a data feed script that feeds > 'events' into our test environment. In

[Tutor] iterating through a directory

2015-09-09 Thread richard kappler
Yes, many questions today. I'm working on a data feed script that feeds 'events' into our test environment. In production, we monitor a camera that captures an image as product passes by, gathers information such as barcodes and package ID from the image, and then sends out the data as a line of xm