Re: [python-win32] Dispatch vs EnsureDispatch performance

2024-04-17 Thread Mark Hammond
I'm mildly surprised by that - a profiler might show some low-hanging fruit, and/or might show different characteristics when many more functions are used. However, the primary reason for EnsureDispatch is for better support of the object model - there's far more context available and this less

[python-win32] Tengo un problema con pyinstaller

2024-04-17 Thread Jeshua Garza
El problema esque tengo que esque cuando le doy a la versi贸n de pyinstaller me aparece (no module named pyinstaller) y literalmente tengo todos instalado correctamente nos茅 que hacer porfa necesito una soluci贸n 馃様 ___ python-win32 mailing list python-win32

[python-win32] Fwd: Tengo un problema con pyinstaller

2024-04-17 Thread Jeshua Garza
El problema esque tengo que esque cuando le doy a la versi贸n de pyinstaller me aparece (no module named pyinstaller) y literalmente tengo todos instalado correctamente nos茅 que hacer porfa necesito una soluci贸n 馃様 mi sistema operativo es Windows 11 y la versi贸n de Python es la m谩s reciente 3.12.3 t

[python-win32] Dispatch vs EnsureDispatch performance

2024-04-17 Thread Sven Bardos via python-win32
Hi, shouldn't be EnsureDispatch be faster than Dispatch once the code generation is done? I've measured it by calling 6000 COM calls like this: dirpath = Path('C:/Users/sbardos/AppData/Local/Temp/gen_py/3.10/') if dirpath.exists() and dirpath.is_dir(): shutil.rmtree(dirpath) app = Dispatch(