SAP Knowledge Base Article - Preview

2715479 - Execute Python script through exec() - Data Services


  •  How to execute Python files by exec() command in a Designer script.
  • Script can be executed successfully by command line. 
  • Adding a Print function to trace the exec() command captured the below errors or similar:
    Error "can't open file '<directory>\python.exe: can't open file '<filepath>': [Errno 2] No Such file or directory"
    Error "command "python" or python.exe is not recognized"



SAP Data Services


SAP Data Services 4.2


KBA , EIM-DS-EXE , Job Execution , EIM-DS , Data Services , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.