cancel
Showing results for 
Search instead for 
Did you mean: 

unable to see the output from a python script

Roger667
New Contributor III

i am trying to run a simple python code to print hello world but i am not able to see the output or pass it to the mapper snap

Roger667_0-1710153585672.pngRoger667_1-1710153642224.png

 

1 ACCEPTED SOLUTION

SpiroTaleski
Valued Contributor

@Roger667 

If you want only to print the message, then add: 

self.output.write("Hello World")

 

View solution in original post

3 REPLIES 3

SpiroTaleski
Valued Contributor

@Roger667 

I assume the Snap Execution is set to "Execute Only". Change it to Validate & Execute. 

SpiroTaleski_0-1710154386778.png

 

@SpiroTaleski 

Roger667_0-1710155165509.png

changed it to validate and execute but still i can't see the output view.

SpiroTaleski
Valued Contributor

@Roger667 

If you want only to print the message, then add: 

self.output.write("Hello World")