Skip to content

Commit a26b9d6

Browse files
Add syntax reminder
1 parent 36a5f04 commit a26b9d6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/machine-learning/algorithm-module-reference/execute-python-script.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,13 @@ The **Execute Python Script** module contains sample Python code that you can us
212212

213213
5. In the **Python script** text box, type or paste valid Python script.
214214

215+
> [!NOTE]
216+
> Please be very careful when writing your script and makes sure there is no syntax error, such as using a un-declared object or a un-imported module. Also pay extra attentions to the pre-installed modules list in [Execute Python Script](execute-python-script.md). If you need to import modules which are not listed, please installing the corresponding packages such as
217+
> ``` Python
218+
> import os
219+
> os.system(f"pip install scikit-misc")
220+
> ```
221+
215222
The **Python script** text box is pre-populated with some instructions in comments, and sample code for data access and output. You must edit or replace this code. Be sure to follow Python conventions about indentation and casing.
216223

217224
+ The script must contain a function named `azureml_main` as the entry point for this module.

0 commit comments

Comments
 (0)