Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/map.py   pyogp.lib.client(Download)
        handler = self.agent.region.message_handler.register('MapItemReply')
 
        region_x, region_y = Region.handle_to_xy(region_handle)
 
        BLOCK_COUNT_PER_PACKET = 21

src/p/y/pyogp.lib.client-0.1/pyogp/lib/client/agent.py   pyogp.lib.client(Download)
        # packed binary U64 to integral x, y
        region_handle = packet['Info'][0]['RegionHandle']        
        region_x, region_y = Region.handle_to_xy(region_handle) 
 
        # packed binary to dotted-octet