# test_python.py
try:
    import ghidra
    print("Python is working in Ghidra!")
    print("Current Program:", getCurrentProgram().getName())
except Exception as e:
    print("Error:", str(e))