HHello,
I am using python 2.6 on unix platform. I need to mount window drive from python. For that i done following code. But it does not get mounted.
Code is Here..........
Code:
import pexpect
cmd2="sudo mount -t cifs //<ip address>/FinalWork  /mnt/win"
child = pexpect.spawn(cmd2)
i = child.expect([' password .* ', pexpect.EOF, pexpect.TIMEOUT])
if i == 0:
   print "******************sending
...