Alan Gauld wrote:
"Wayne Watson" wrote
Basically, what I would like to do is to take a list like:
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
and convert it to;
[['0x0', '0x1', '0x2', '0x3', '0x4'], ['0x5', '0x6', '0x7', '0x8',
'0x9']]
What is the basis of this conversion?
Use of pyfits (FITS for
"Wayne Watson" wrote
Basically, what I would like to do is to take a list like:
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
and convert it to;
[['0x0', '0x1', '0x2', '0x3', '0x4'], ['0x5', '0x6', '0x7', '0x8',
'0x9']]
What is the basis of this conversion?
Why did you split it into two lists?
Why conv