lameck kassana chela...@gmail.com wrote:
i did try but still not working.But also i try os.walk() for remote
computer like os.walk('\\192.168.0.45') it also failed
Of course it did, for two different reasons. First, you can't just walk an
IP address. You have to specify one of the shares
hey i want to count number of files in remote computer
example of my code is
import glob
import os
import time
from datetime import date
today=date.today()
dir_count, file_count=0, 0
for files in glob.glob('\\192.168.0.45\files\*.txt'):
file_count += len(files)
print 'the count of
On Thu, Feb 26, 2009 at 1:05 AM, lameck kassana chela...@gmail.com wrote:
hey i want to count number of files in remote computer
example of my code is
import glob
import os
import time
from datetime import date
today=date.today()
dir_count, file_count=0, 0
for files in
i did try but still not working.But also i try os.walk() for remote
computer like os.walk('\\192.168.0.45') it also failed
Thats it is my main problem do i need any new imports besides import os
On 2/26/09, Chris Rebert c...@rebertia.com wrote:
On Thu, Feb 26, 2009 at 1:05 AM, lameck kassana
Chris Rebert wrote:
On Thu, Feb 26, 2009 at 1:05 AM, lameck kassana chela...@gmail.com wrote:
hey i want to count number of files in remote computer
example of my code is
import glob
import os
import time
from datetime import date
today=date.today()
dir_count, file_count=0, 0
for