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

All Samples(6)  |  Call(5)  |  Derive(1)  |  Import(0)

src/p/y/PyMMBtool-0.1/dfs_put_file.py   PyMMBtool(Download)
        print "Syntax: %s <disc.ssd> <dir>.<name> <os filename>" % sys.argv[0]
        sys.exit()
    DFS = PyMMB.dfs.dfs(sys.argv[1])
    d, n = sys.argv[2].split()
    DFS.create_file(d, n, open(sys.argv[3]))

src/p/y/PyMMBtool-0.1/dfs_get_file.py   PyMMBtool(Download)
        print "Syntax: %s <disc.ssd> <dir>.<name> <os filename>" % sys.argv[0]
        sys.exit()
    DFS = PyMMB.dfs.dfs(sys.argv[1])
    d, n = sys.argv[2].split()
    dfs_file = DFS.find_file(d, n)

src/p/y/PyMMBtool-0.1/dfs_erase_file.py   PyMMBtool(Download)
        print "Syntax: %s <disc.ssd> <dir>.<name>" % sys.argv[0]
        sys.exit()
    DFS = PyMMB.dfs.dfs(sys.argv[1])
    d, n = sys.argv[2].split()
    DFS.delete_file(d, n)

src/p/y/PyMMBtool-0.1/dfs_compact.py   PyMMBtool(Download)
        print "Syntax: %s <disc.ssd>" % sys.argv[0]
        sys.exit()
    DFS = PyMMB.dfs.dfs(sys.argv[1])
    DFS.compact()
    end = 2

src/p/y/PyMMBtool-0.1/dfs_cat.py   PyMMBtool(Download)
        print "Syntax: %s <disc.ssd>" % sys.argv[0]
        sys.exit()
    DFS = PyMMB.dfs.dfs(sys.argv[1])
    print DFS.catalog()
 

src/p/y/PyMMBfuse-0.1/fuse_mmb.py   PyMMBfuse(Download)
class _internal_dfs(PyMMB.dfs.dfs):
    """
    Use _internal_dfs_file instead of dfs_file, and replace characters
    in titles which are illegal in filenames under Unix etc
    """