In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

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
20 - Arcturus

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.

Labels
Top Solution Authors