From the image i have extracted the pixel co-ordinates ( x,y). To validate the co-ordinates , i am trying to plot those pixel co-ordinates. But i couldn't do it.
I tried to plot using turtle but still i am unable to do it
import turtle
import math
def drawMap():
filename = r"build_coords.csv"
trace = turtle.Turtle()
trace.up()
#scr = Screen()
with open(filename, 'r') as f_input:
for row in f_input:
row = row.strip('()\n').split(',')
x = float(row[0])
y = float(row[1])
trace.goto(x,y)
trace.write(".")
raw_input()
#scr.mainloop()
drawMap()
ValueError: could not convert string to float: '0\t3'
Please kindly help to fix this. Thanks in advance