我有一個表,其中包含oracle COLOR_HISTOGRAM列,它包含值。它是一個帶有colorlist和colorfrequencielist的對象類型。 如果我想將SI_COLORS插入表中,我該如何達到這些屬性? 我declated可能包含這些值 --CREATE OR REPLACE TYPE colorsList AS VARRAY(100) OF SI_Color;
--CREA
from urllib2 import urlopen
from contextlib import closing
import json
import time
import os
while True:
url = 'http://freegeoip.net/json/'
try:
with closing(urlopen(url)) as res