diff --git a/Ghidra/Features/PyGhidra/src/main/help/help/topics/PyGhidra/interpreter.html b/Ghidra/Features/PyGhidra/src/main/help/help/topics/PyGhidra/interpreter.html index 13ff477501..fdd5976545 100644 --- a/Ghidra/Features/PyGhidra/src/main/help/help/topics/PyGhidra/interpreter.html +++ b/Ghidra/Features/PyGhidra/src/main/help/help/topics/PyGhidra/interpreter.html @@ -25,6 +25,13 @@ them through a Python interface, which is similar to Java in some ways.

+

+ Note on imports: Since you are running inside Ghidra, you do not need to + import pyghidra or call pyghidra.start(). The pyghidra module is + only needed for standalone Python scripts running outside of Ghidra. Here, you can directly + import Ghidra API modules like from ghidra.program.flatapi import FlatProgramAPI. +

+

As in Java, classes outside of your current package/module need to be explicitly imported. For example, consider the following code snippet: