使用 Python 运行 SAS EG 项目 [英] Running SAS EG project with Python

查看:45
本文介绍了使用 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

我希望这会有所帮助.

这篇关于使用 Python 运行 SAS EG 项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆