Hello everyone,
I am trying to make a program in python that allows me to go to a folder where i have an egp. and runs that egp and saves a copy with the "result" of that run (it saves the egp after it runs so i can see if the sas log if there's some error while running).
I tried to use a package i found online (GitHub - kjnh10/saseg_runner: Run egp file from python)
from saseg_runner import run_egp, SASEGRuntimeError run_egp(egp_path='project.egp', eg_version='3.8', profile_name='profile')
but i got an error
---> 48 app = win32com.client.Dispatch(f'SASEGObjectModel.Application.{eg_version}') com_error: (-2147221005, 'Invalid class string', None, None)
Does anyone know how to solve this or has any idea how i can run the egp in a easy way?
Thanks in advanced!
Why have you specified a version of 3.8 in posted code? Also I suspect this package expects 32-bit EG. What is the bitness of your EG?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.