我有for phone in $(jq -r '.[] | .number' numeros.json); do
jq -c --arg num "$phone" '.[] | select(.number==$num)' json.json |
while IFS= read -r fragment; do
curl -X POST \
-H "X-Primotexto-ApiKey: <<<YOURAPIKEY>>>" \
-H "Content-Type: application/json" \
-d "$fragment" \
https://api.primotexto.com/v2/notification/messages/send;
done
done
:
MyTable
和分配以下格式权重的字典:
ID autoincrement primary key
Column1 varchar
Column2 varchar
Column3 varchar
Column4 varchar
OriginalCount int
我希望向表dict1 = {'Column1Value1':0.3,'Column1Value2':1.2,'Column1Value3':0.9,...}
添加一个新列,这是Count
的乘积
在Windows 10上使用python 2.7.10,我应该怎么做?