I have a python script the runs this code:
strpath = "sudo svnadmin create /svn/repos/" + short_name
os.popen (strpath, 'w')
How can I get the output of that command stored in a variable or written to a log file in the current directory?
I know, there may not be an output, but if there is, I need to know.