Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
load points from a file.
returns number of points loaded

src/m/a/MAVProxy-1.3.3/MAVProxy/modules/mavproxy_fence.py   MAVProxy(Download)
            fencetxt = os.path.join(self.logdir, 'fence.txt')
            if os.path.exists(fencetxt):
                self.fenceloader.load(fencetxt)
                print("Loaded fence from %s" % fencetxt)
 

src/m/a/MAVProxy-HEAD/MAVProxy/modules/mavproxy_fence.py   MAVProxy(Download)
            fencetxt = os.path.join(self.logdir, 'fence.txt')
            if os.path.exists(fencetxt):
                self.fenceloader.load(fencetxt)
                self.have_list = True
                print("Loaded fence from %s" % fencetxt)