0
在Python 2.6,我如何访问缓冲区?我通过arcpy使用外部python类来访问PostgreSQL数据库函数。Python 2.6从缓冲区读取
# the_geom is part of a list.
print the_list
# Returns:... 'the_geom': <read-only buffer for 0x06E4FB60, size 1997, offset 0 at 0x34BCCB80>,...
for item in the_list:
the_geom=item['the_geom']
print(type(the_geom))
# Returns: <type 'buffer'>
感谢。
谢谢。我一直在解决这个问题,并且需要一个完整的检查来确认这段代码是正确的!再次感谢。 – Matt