Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ここにリンクされているように、私は叫び声を上げています。返された名前のリストだけを印刷しようとしています。私は次のことを試しました:
print response['name'] print response[0] print response[0]['name']
そして、すべてがエラーを与えるようです。地名だけのリストにアクセスするにはどうすればよいですか? それとも地名だけ?
for b in response['businesses']: print b.get('name', 'missing')
を使用することの違いは何だろうと思っていました<? and <?php。たとえば、このコード行。
<? and <?php
function getWallboard() { $.ajax({ type: "POST", url: "quality_control/qc_ajax.php", data: "action=get_queue_totals