Alteryx Designer Desktop Discussions

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

Format change

CloudDuck
7 - Meteor

Hello,

I'm working an analytical app that uses a Python script to convert .json files into .csv files. I want the app to automatically detect all .dta files in a user-selected directory and then allow the user to specify a dynamic location for saving the converted .csv files 'C:\Users...\' + [FileName]."

 

 

I need to understand how to configure the inputs and outputs to the code.

 

 

 

4 REPLIES 4
apathetichell
19 - Altair

This is an app - not a macro. You use a folder browse -> directory and another folder browse  or text box - for your output folder. 

CloudDuck
7 - Meteor

Corrected. The problem still stands, i would like to understand how do i connect this to the code

apathetichell
19 - Altair

where are you hitting a problem - directory tool will bring in the full paths. select tool will tell you what fields you want. you will append in the output location. python tool will bring in the full path as a pandas DF. you then will do whatever you do in your python code to the files and output to the output location. what kind of error are you seeing?

CloudDuck
7 - Meteor

Solved, syntax error and thank you for the help

Labels