Bottom Page

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

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Accessing Files In A Folder asilverg 1 60 Feb-15-2019, 08:08 AM
Last Post: buran
  accessing Sybase (ASE and/or Anywhere) via ODBC... on Linux zatlas1 0 72 Jan-31-2019, 06:48 PM
Last Post: zatlas1
  Accessing Files via Mobaxterm Omer123 1 101 Jan-23-2019, 12:33 AM
Last Post: micseydel
  Accessing IBM MQ using Python Rajeshs16 6 295 Oct-22-2018, 02:39 PM
Last Post: Larz60+
  accessing globals from a function Skaperen 8 447 Sep-01-2018, 11:50 PM
Last Post: Skaperen
  Accessing first list element when at end of loop! JY450 1 229 Aug-14-2018, 12:50 PM
Last Post: perfringo
  Getting error while accessing input box sumandas89 0 312 Jul-13-2018, 12:22 PM
Last Post: sumandas89
  Getting error when accessing elements in a modal window of an webpage using selenium sumandas89 3 815 Jul-13-2018, 10:44 AM
Last Post: mlieqo
  Accessing a dictionary - KeyError ?? eoins 1 434 Jun-06-2018, 06:14 AM
Last Post: wavic
  Printing array without commas pawlaczkaj 1 1,027 Apr-08-2018, 07:05 PM
Last Post: Larz60+

Forum Jump:


Users browsing this thread: 1 Guest(s)