Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Python Output

mishrapratyush
5 - Atom

 So I have been trying to run a python script inside my alteryx and I just cannot seem to get the output of the data onto the anchor. 

 

The error reads- NameError: name "Alteryx" is not defined

 

Any help is much appreciated. 

 

For your reference, in the attached screenshot, the code works perfectly fine and I can recall variable_6 however, I cannot output it.

mishrapratyush_0-1623702518800.png

 

2 REPLIES 2
BrandonB
Alteryx
Alteryx

Are you importing Alteryx at the beginning of your script?

 

you need

 

from ayx import Alteryx

 

BrandonB_0-1623704073008.png

 

 

 

mishrapratyush
5 - Atom

Worked like a charm. Thank you so much @BrandonB. Can't believe I missed that!

Labels
Top Solution Authors