如何从中提取经纬度-
Feature(place='12km SSE of Volcano, Hawaii', long=-155.2005, lat=19.3258333, depth=6.97, mag=5.54)
部分代码如下
lrgst = features[0]
print ('\n',lrgst)
plt.bar(y_pos, magn)
plt.xticks(y_pos, loc)
plt.ylabel('Magnitude')
plt.show()
features = list(get_info()) #Storing our json information into a list 'Features'
假设“features”是一个条目列表,如给出的示例所示,此解决方案将起作用:
我想用正则表达式提取。。。但有些东西不起作用
如果这奏效了,那么亚历克斯的问题就可以解决了
为什么不匹配
相关问题 更多 >
编程相关推荐