I just finished my program, but i cant figure out a part of it please help, it always says syntax error.
#!/usr/bin/python
#use warning
from numpy import*
import re
import os
import math
import math
import fileinput
filename = raw_input('Enter Filename:')
os.mkdir(filename)
print('Created Filename:'), filename
Maya = open('Test.dae', 'r') #
Grid = open('Grid.txt', 'w') #
TEMP = open('temp.txt', 'w') #
start = 0
end= 0
buffer = 2 # - Number of Z eroes around the Shape
print('Constraints: \t')
print('Basic = 0\t')
print('Gradient = 1\t')
print('Choice:\n')
constraint = raw_input('Constraint: ')
entry_cost = raw_input('Clean-up zone Entry Cost: ')
xcoords = []
ycoords = []
zcoords = []
for line in MAYA:
line = line.rstrip()
if "library_geometries" in line: start = True
if "</float_array>" in line: end = True
if start and not end:
if '<' not in line:
# GRID.write(line + '\n')
if ((start == 1), (end == 0))
if(line)
{
print('Line \n')
array(Split) = split(
array.index(Split) = split(line)
list.append[xcoords], Split(0)
list.append[ycoords], Split(1)
list.append[zcoords], Split(2)
}
}
}
}
}
}
}