問題描述
我已經搜索了一些通過 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 項目的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!