def help(self):
        if not self.quiet:
            print( 'Serving Larch at port %s' % repr(self.port))
            # print dir(self)
            print('Registered Functions:')
            fnames = ['ls', 'chdir', 'cwd', 'exit', 'larch', 'wx_update',  'get_data']
            for kname in self.funcs.keys():
                if not kname.startswith('system') and kname not in fnames:
                    fnames.append(kname)

            out = ''
            for fname in sorted(fnames):
                if len(out) == 0:
                    out = fname
                else:
                    out = "%s, %s" % (out, fname)
                if len(out) > 70:
                    print("  %s" % out)
                    out = ''
            if len(out) >  0:
                print("  %s" % out)
dataset/ETHPy150Open xraypy/xraylarch/lib/xmlrpc_server.py/LarchServer.help/original