This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I think that your path is incorrect and needs to be types with / instead of \ in your python Code.
One of the approaches you can use to read the path of file supplied as connection #1 to your Python tool could look like this:
#Read the path to of ZIP
df = Alteryx.read("#1")
# Load the params from the input
path = "" #Placeholder for folder with a script
for index, row in df.iterrows():
path = row.replace("\\","/")
In path variable you will then have the file path loaded a fixed of your issue, i.e. replaced \\ with / which Python needs.
Just supply the path variable to the code where originally I used a constant value.
If you want to check out how to build that workflow, I used the control param + text tool for instance in this article