Hey everyone,
Right now I'm in terminal programming in the Mandelbrot and MPI codes to create a list of life to compute the life code. Unfortunately I have run into a Syntax error. I'm more than certain it has to do with my raw string code so I'm sure it's an easy fix
bmp.write_image('image.bmp, nx, ny, image, MAX_ITER)
^
SyntaxError: EOL while scanning string literal
That's my error. Here's that line of code:
# convert data to color image and save it in a file
bmp.write_image('image.bmp, nx, ny, image, MAX_ITER)
for w in range(1,mpi.size):
print jobs_completed_by_worker[w],"tasks completed by worker",w
How do I fix that error and is it caused by raw string coding being off???
+Rep for help!
**Note the ^ on the error line may not be in the right spot. It should be after the last parentheses.






Reply With Quote




