Le jeudi 16 janvier 2014 19:14:30 UTC+1, Neil Cerutti a écrit :
On 2014-01-16, Xaxa Urtiz wrote:
Hello everybody, i've got a little problem, i've made a script
which look after some files in some directory, typically my
folder are organized like this :
[share]
folder1
On 17/01/2014 16:45, Xaxa Urtiz wrote:
[masses of double spaced lines snipped]
Would you please read and action this
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the
double line spacing in your posts, thanks.
--
My fellow Pythonistas, ask not what our language can do
Hello everybody, i've got a little problem, i've made a script which look after
some files in some directory, typically my folder are organized like this :
[share]
folder1
-20131201
--file1.xml
--file2.txt
-20131202
--file9696009.tmp
--file421378932.xml
etc
so basically in the share i've got
Le jeudi 16 janvier 2014 17:49:57 UTC+1, Xaxa Urtiz a écrit :
Hello everybody, i've got a little problem, i've made a script which look
after some files in some directory, typically my folder are organized like
this :
[share]
folder1
-20131201
--file1.xml
--file2.txt
On 2014-01-16, Xaxa Urtiz urtizvereax...@gmail.com wrote:
Hello everybody, i've got a little problem, i've made a script
which look after some files in some directory, typically my
folder are organized like this :
[share]
folder1
-20131201
--file1.xml
--file2.txt
-20131202
On Fri, Jan 17, 2014 at 5:14 AM, Neil Cerutti ne...@norwich.edu wrote:
class Miner:
def __init__(self, archive):
# setup goes here; prepare to acquire the data
self.descend(os.path.join(archive, '*'))
def descend(self, path):
for fname in
On 2014-01-16, Chris Angelico ros...@gmail.com wrote:
Hmmm... I might be doing too much in __init__. ;)
Hmm, why is it even a class? :) I guess you elided all the
stuff that makes it impractical to just use a non-class
function.
I didn't remove anything that makes it obviously class-worthy,