diff options
Diffstat (limited to 'Demo/scripts/pi.py')
-rwxr-xr-x | Demo/scripts/pi.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/scripts/pi.py b/Demo/scripts/pi.py index d633723..9b24245 100755 --- a/Demo/scripts/pi.py +++ b/Demo/scripts/pi.py @@ -30,4 +30,5 @@ def output(d): # Flush so the output is seen immediately sys.stdout.flush() -main() +if __name__ == "__main__": + main() |