K
kracekumar ramaraju
I am looking to use xauth in python?It is for my command line process,I would like to have few examples and resources.
kracekumar said:I am looking to use xauth in python ?
It is for my command line process,
I would like to have few examples
and resources.
import subprocess as SP
proc = [ 'xauth' , 'list' , ':0' ]
pipe = SP.Popen( proc , stdout = SP.PIPE )
data = pipe.stdout.readline()
print '\n' , data
I am looking to use xauth in python?It is for my command line process,I would like to have few examples and resources.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.