Hi,
I am new to python tool.
I have written a simple python code in python tool and try to run the workflow but its not generate the .txt output file.
Could you please help me on this.
f = open("D:\Python\demofile2.txt", "x")
f.write("Now the file has more content!")
f.close()
#open and read the file after the appending:
f = open("D:\Python\demofile2.txt", "r")
print(f.read())
Please note above code is executed if i saved it in .py file like test.py and executed using command prompt
\Python> python test.py ----- (Its generated the output successfully)
Could you please help me why the same is not working if i use the Alteryx Python tool.
Thank you in advance,
Thank you in advance,