now it is working but i wonder it brings higher number of count as if it
counts files in wholes computer can you check in my code and correct me
import glob
import os
file_count=0
for files in
En Fri, 27 Feb 2009 07:02:57 -0200, lameck kassana lkass...@gmail.com
escribió:
now it is working but i wonder it brings higher number of count as if it
counts files in wholes computer can you check in my code and correct me
import glob
import
At last i did it it was this wrong line file_count += len(files) ---it
supposed to be file_count+=1
but thanks for help ya python masters .Steven Holden thanks very very
much for your tip about raw string
On Fri, Feb 27, 2009 at 12:43 PM, Gabriel Genellina
gagsl-...@yahoo.com.arwrote:
En
lameck kassana wrote:
now it is working but i wonder it brings higher number of count as if it
counts files in wholes computer can you check in my code and correct me
import glob
import os
file_count=0
for files in
lameck kassana wrote:
At last i did it it was this wrong line file_count += len(files) ---it
supposed to be file_count+=1
but thanks for help ya python masters .Steven Holden thanks very
very much for your tip about raw string
Lameck:
Please note that
file_count = 0
for files in
lameck kassana wrote:
i am trying to write script which will count files for remote directory
which having certain pattern.
Please refrain from repeating questions. When you posted this a reply
had already been made to your original posting. Remember, this isn't a
paid help desk ...
regards
ok my original question is how can count the files of ceratin pattern(eg
*.txt) in remote directory .It seems use of glob.glob() for remote
directory is not working .Example I want to count the files in following
shared folder \\192.168.0.45\files file://192.168.0.45/files how can do it
by using
lameck kassana wrote:
ok my original question is how can count the files of ceratin pattern(eg
*.txt) in remote directory .It seems use of glob.glob() for remote
directory is not working .Example I want to count the files in following
shared folder \\192.168.0.45\files