Python Forum

Full Version: accessing array without commas
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
after detecting pupil through Hough transformation if i am printing the values of the two pupils value i am getting something like this [[[1.0 2.0 3.0]
[4.0 5.0 6.0]]]

But my question is i want to print them differently like A=[1.0 2.0 3.0] and B= [4.0 5.0 6.0]
as i need those differently ,so please any kind soul can help me how can i do this ?
this is not a valid python list.
you will need to convert to proper list first
Is there a newline in the middle of output?