使用 Python 运行 SAS EG 项目
问题描述
我已经搜索了一些通过 Python 执行 SAS Enterprise Guide 项目及其程序的方法,但我找不到任何东西.我只找到类似问题的 SAS 示例:如何调用python中的sas脚本?
I've searched a bit for a way to execute a SAS Enterprise Guide project and its programs via Python but I could not find anything. I only find SAS examples like the question: How do I invoke a sas script in python?
我可以将企业指南项目称为我的 sysin,就像该链接中建议的答案一样,但是当项目打开时,它会尝试导入我传递的所有其他参数.我也找不到每个单独的 SAS 程序的路径,因为它在项目中.
I can call the enterprise guide project as my sysin like the answer in that link suggested, but when the project opens it tries to import all the other parameters I passed. I also can't find the path for each individual SAS program as it is inside the project.
有谁知道通过 python 在项目中简单地运行 SAS 程序的方法?
Does anyone knows a way to simply run the SAS programs within a project via python?
谢谢
解决方案
我和你有同样的抱怨,所以我创建了一个工具来从python或命令行执行egp文件.https://github.com/kjnh10/saseg_runner
I have the same complaint as you, so I created a tool to execute egp file from python or command line. https://github.com/kjnh10/saseg_runner
我希望这会有所帮助.
相关文章