Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!

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