com - Attach to process instead of Dispatch -


i using pywin32 , calling dispatch function create com object, means new instance of application created (in case ptv vissim) whenever call function. possible, instead, attach existing vissim application? speed development, since wouldn't have wait application start every time run test.

this existing relevant code:

import win32com.client com vissim = com.dispatch("vissim.vissim.540") 


Comments

Popular posts from this blog

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -

angular - DownloadURL return null in below code -