accessing array without commas - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: accessing array without commas (/thread-16010.html) |
accessing array without commas - rjnabil1994 - Feb-10-2019 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 ? RE: accessing array without commas - Larz60+ - Feb-10-2019 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? |