Python Environment Help Commands
Importante
This Python SDK uses outdated technology that limits your extension opportunities. We've built a new Platform SDK using Python and the latest open-source technology to deliver a vastly improved development experience. Go to Platform SDK to get started!
Alteryx provides several help commands for developers working in our Python environment. To enable these commands:
Run the Python executable found in your Alteryx installation location.
Each of these commands assumes the installation location:
c:\program files\Alteryx\bin\Miniconda3\python.exe
.Adjust the command if you are using a different installation location.
Run these commands at the Python prompt.
import os, sys
os.environ['PATH'] = r'c:\program files\alteryx\bin;' + os.environ['PATH']
sys.path.insert(1, r'c:\program files\alteryx\bin\plugins')
import AlteryxPythonSDK
With the help functions enabled, you can use the following commands to access Alteryx-specific assistance. The generated help does not include methods that your Python file requires to be accessed by the Alteryx engine. For examples of the required methods, see the Python Example Tool, in the SDK Example category within Alteryx Designer.
To access all help information:
help(AlteryxPythonSDK)
To access the help related to one class:
help(AlteryxPythonSDK.[ClassName])
To access the help related to one method:
help(AlteryxPythonSDK.[ClassName].[Method])