The command abode will allow a person to create a temporary or permanent table view within the SDE database. In ArcCatalog, you can see the view as a table, which makes it helpful to query. To make this command work in python, you need to create a script that will call the sdetable.exe file and pass in all the parameters.

The general concept of this is quite simple:# Run the commandstdout_handle = os.popen(commandStr, "r")# Read the commands output into a variable from the standard output handletext = stdout_handle.read()

Here you use the os.popoen(, "r") which returns acknowledgement message once the script completes sucessfully or not.