Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 accessing array without commas
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?

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Design Pattern for accessing subclass attributes UGuntupalli 2 102 Jul-30-2019, 11:09 PM
Last Post: UGuntupalli
  Saving and accessing data from different clients SheeppOSU 1 105 Jul-28-2019, 02:15 AM
Last Post: metulburr
  Help|CSV Writing on List with Inner Commas soothsayerpg 2 144 Jul-20-2019, 06:59 AM
Last Post: scidam
  [split] Automate the boring stuff, inserting commas in list srikanth 1 143 Jul-02-2019, 02:29 PM
Last Post: metulburr
  Accessing files in various directories and folders ccuny 2 163 May-08-2019, 12:11 PM
Last Post: ccuny
  Automate the boring stuff, inserting commas in list DJ_Qu 3 323 Apr-21-2019, 03:52 PM
Last Post: perfringo
  N-Dim array manipulation in a loop, getting IndexError: too many indices for array cesardepaula 1 910 Mar-13-2019, 01:39 AM
Last Post: scidam
  Accessing Files In A Folder asilverg 1 220 Feb-15-2019, 08:08 AM
Last Post: buran
  accessing Sybase (ASE and/or Anywhere) via ODBC... on Linux zatlas1 0 357 Jan-31-2019, 06:48 PM
Last Post: zatlas1
  Accessing Files via Mobaxterm Omer123 1 286 Jan-23-2019, 12:33 AM
Last Post: micseydel

Forum Jump:

Users browsing this thread: 1 Guest(s)