该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


注意: 
Typically, JMP determines the PYTHONHOME environment variable automatically if it is defined in the Windows registry.
<root> is either the root key HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER depending on where and how you installed Python. <version> is the Python version number.
Use the Path("path to an installed Python dll or shared library") argument with the Python Init() or Python Connect() function.
Define the PYTHONINSTALLPATH environment variable using either of the following two methods:
1.
Select Start > Control Panel > System > Advanced system settings.
2.
Click Environment Variables.
4.
Type PYTHONINSTALLPATH for the Variable name.
5.
Type the path to the Python<version>.dll file, for example:
6.
Click OK and click OK again to close the System Properties window.
Create the variable using the Set Environment Variable() function:
1.
JMP reads the Path() option that is specified in the Python Init() or Python Connect() function call.
3.
If a Python installation cannot be found using the Windows registry, JMP looks up the PYTHONINSTALLPATH environment variable. If the environment variable is a valid Windows path, that path will be used to load the appropriate Python DLLs.
4.
If the PYTHONINSTALLPATH environment variable does not exist or has an invalid path, an error message appears stating that an installation of Python could not be found.
Python Submit( "\[basket = ['apple', 'orange', 'pear', 'orange', 'banana']