i am trying to change the current directory but it is not working because it requires root privileges.Can anyone tell me how can i get the root privileges to change the directory( linux ).
import os
os.chdir('~/.jenkins/jobs/pip2/builds/32')
i am trying to change the current directory but it is not working because it requires root privileges.Can anyone tell me how can i get the root privileges to change the directory( linux ).
import os
os.chdir('~/.jenkins/jobs/pip2/builds/32')