Hi Everyone

I saw alot of responses for python on this <http://python.org> mailing list.
I thought any python guru might wish to help me with little code to map two
network drives on windows systems


I have 3computers at different locations in a network A,B,C

I want to map c:/temp folder of A to C & c:/temp folder of B to C as well do
some copying of data and then delete the mapping.

I tried using the code given for mapping:

import win32net
> win32net.NetUseAdd(None,1,{'remote':r'\\server\share','local':'K:','password':'XXX'
> })
>

but I get this error:

C:\Users\Administrator\Desktop>python test.py
> Traceback (most recent call last):
>   File "test.py", line 31, in <module>
>     import win32wnet
> ImportError: No module named win32net
>

I just need help in setting up the mapping. I know how to do the copying
using shutil please if you can help me with the mapping code. I am very new
to python and I need this help for my project at school.

I am using python 2.6

I'll be eagerly waiting for your response.
Thanks

-- 
Regards,
Vineet Kothari
http://www.vineetkothari.in

-----
Its NICE 2 be IMPORTANT, but whats more IMPORTANT is 2 be NICE.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to