How can i read file contents(ex: doc file) from svn(subversion) using python? Thanks in advance : import subprocess
import os
filename="D:\MAINTRUNK\ar_ctrl_handle_ar_expand_menu.ptu"
r = subprocess.Popen("open " + filename, stdout=subprocess.PIPE, shell=True, universal_newlines=True)

stdout, stderr = r.communicate()

print stdout