<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Run SAS 8.3  egp automatically with python in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Run-SAS-8-3-egp-automatically-with-python/m-p/931191#M366354</link>
    <description>&lt;P&gt;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?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2024 21:59:11 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2024-06-06T21:59:11Z</dc:date>
    <item>
      <title>Run SAS 8.3  egp automatically with python</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Run-SAS-8-3-egp-automatically-with-python/m-p/931106#M366324</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use a package i found online (&lt;A href="https://github.com/kjnh10/saseg_runner" target="_blank"&gt;GitHub - kjnh10/saseg_runner: Run egp file from python&lt;/A&gt;)&lt;/P&gt;&lt;PRE&gt;from saseg_runner import run_egp, SASEGRuntimeError
run_egp(egp_path='project.egp', eg_version='3.8', profile_name='profile')&lt;/PRE&gt;&lt;P&gt;but i got an error&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;---&amp;gt; 48 app = win32com.client.Dispatch(f'SASEGObjectModel.Application.{eg_version}')

com_error: (-2147221005, 'Invalid class string', None, None)&lt;/PRE&gt;&lt;P&gt;Does anyone know how to solve this or has any idea how i can run the egp in a easy way?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanced!&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Jun 2024 11:15:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Run-SAS-8-3-egp-automatically-with-python/m-p/931106#M366324</guid>
      <dc:creator>msf2021</dc:creator>
      <dc:date>2024-06-06T11:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Run SAS 8.3  egp automatically with python</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Run-SAS-8-3-egp-automatically-with-python/m-p/931191#M366354</link>
      <description>&lt;P&gt;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?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 21:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Run-SAS-8-3-egp-automatically-with-python/m-p/931191#M366354</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-06-06T21:59:11Z</dc:date>
    </item>
  </channel>
</rss>

