Alteryx Designer Desktop Discussions

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

Importing Jupyter Notebook - Python Code in Alteryx

JHAROHIT
7 - Meteor

Hi ,

 

I have not used  Python input tool in Alteryx before. Currently i have a code in Jupyter notebook which is fetching data perfectly from an internal application. In the python code, it prompts for a password, userid is hardcoded in the code.

 

Some part of the code is as below:

 

username = 'DOMAIN\\userid'
password = getpass.getpass('Password: ')

 

I want to utilize the same code in Python input tool of Alteryx, however want to hardcode the password as well.

 

Also, what should be passed as an input to the Python tool.

 

 
 

 

 

1 REPLY 1
apathetichell
19 - Altair

input to the python tool is your datastream (or streams) as a pandas DF (or pandas DF) - you can then reference the values/columns in Python as needed. The Python tool does not need an input -> unless you have an Alteryx.read line.

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels