text_combined: roger upole schkeramsncom kyle rickey wrote im trying get file version executable file network times network quite slow prevent blocking main application decided put code separate thread depending network speed take 30 seconds return vpn connection etc put separate thread block entire application function returns take following code example import threading time os win32api file rnetwork_sharefileexe def get_version_number ospathexistsfile info win32apigetfileversioninfofile ms infofileversionms ls infofileversionls return win32apihiwordms win32apilowordms win32apihiwordls win32apilowordls def test print joinstri get_version_number print aa threadingthreadtargetteststart 1 print aa timesleep05 output looks like aa aa 20015 aa problem 1st aas got printed printed version number came back ideas happening ive got python 25 pywin32210 kyle rickey function doesnt release thread lock making api calls ill try remedy next release roger _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 thu 07 aug 2008 170517 0400 pythonwin32 getfileversioninfo blocks main thread