Display generated pixel catalog .cat in jupyter, ya
parent
53ad504b64
commit
428c9f951f
|
@ -156,9 +156,10 @@
|
||||||
" print(colored(f\"generate pixel catalog for {fname}\", \"yellow\"))\n",
|
" print(colored(f\"generate pixel catalog for {fname}\", \"yellow\"))\n",
|
||||||
" pix_catalog = pixel_catalog(f\"{fname}.cat\")\n",
|
" pix_catalog = pixel_catalog(f\"{fname}.cat\")\n",
|
||||||
" fnamecat = open(fname + \".cat\", \"r\")\n",
|
" fnamecat = open(fname + \".cat\", \"r\")\n",
|
||||||
" lines = fnamecat.readlines()\n",
|
" # Print first 1500 bytes\n",
|
||||||
" for line in lines:\n",
|
" print(fnamecat.read(1500), \"\\n...\")\n",
|
||||||
" print(line, end=\"\")"
|
" # Print all:\n",
|
||||||
|
" #print(fnamecat.read())"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue