cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a simple python script in snaplogic ..suppose want to sum two nos or print hello?

RashmiKakkar
New Contributor

A Simple program which is running fine in idle. I am trying to call the file sum.py in snaplogic, it is failing again and again . Please let me know hoe to call this in snaplogic .

a = 5
y = 6
z = 5 + 6
with open (“new1.txt”,‘w’)as f:
f.write(str(z))

0 REPLIES 0