We are updating the requirements for Community registration. As of 7/21/21 all users will be required to register a phone number with their My Alteryx accounts. If you have already registered, you will be prompted on your next login to add your phone number.

Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
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