This is the first step (of 2) in converting an AML to a Python script. It seems to me that by this time someone should have written such a converter and the process should be straight forward. But I can't find any evidence that such a converter exists. Finding such a converter is my first choice. Second choice is AML to ModelBuilder. Then ModelBuilder can create a Python script (a straightforward process).