AnsweredAssumed Answered

How to force Python to write a log file to specified location?

Question asked by grparent on Oct 29, 2012
Latest reply on Oct 30, 2012 by fabl
Hello Forum users,
I am running a SAS script that uses a Python script to work on an ArcGIS 10 SDE Feature Class. The Python script does everything to the Feature Class it is supposed to do but when it finishes does not leave a record of its success or failure in the SAS log tab. The SAS log only sees Python opening and then once it is finished closing. What I need to see is a log showing the success or failure of the Python portion of the code.
Is there a way of getting Python to dump a log file out to specific location while it is running in SAS?
Thanks for any input you may have.
Ps. I think it???s time to take a Python course!