# Python scripts

**URL:** https://www.finalbuilder.com/forums/t/python-scripts/2402
**Category:** Discussion
**Created:** [August 6, 2015, 12:01pm UTC](https://www.finalbuilder.com/forums/t/python-scripts/2402 "2015-08-06T12:01:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jim\_shawver](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@jim\_shawver](https://www.finalbuilder.com/forums/u/jim_shawver)
#### Post date: [August 6, 2015, 12:01pm UTC](https://www.finalbuilder.com/forums/t/python-scripts/2402/1 "2015-08-06T12:01:44Z")

</div>

I am trying to run a Python script using the Run Script action. The build log indicates the action completed, but it doesn't seem to actually be doing anything. Just as a simple test, in the OnExecute event I tried:  
  
&nbsp;&nbsp;&nbsp; print "Hello World!"  
  
The output doesn't appear in the build log. What should I expect to happen?  
  
I next tried:  
  
&nbsp;&nbsp;&nbsp; print 1/0  
  
This should generate a "div by 0" error, but again nothing seems to happen.  
  
.Do you have any suggestions? I am running FinalBuilder Pro 7.0.0.3368.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [August 6, 2015, 1:34am UTC](https://www.finalbuilder.com/forums/t/python-scripts/2402/2 "2015-08-06T01:34:28Z")

</div>

Hi Jim,   
  
 The print function has not been overloaded in our script framework. If you wish to write to the build log you can use the following script.   
  
 Action.SendLogMessage(“hello”)   
  
 Also if you wish to see a divide by zero error assigning the value to a variable will produce what your looking for.   
  
 x = 3/0
