source: orange/Orange/doc/modules/server_files1.py @ 9671:a7b056375472

Revision 9671:a7b056375472, 389 bytes checked in by anze <anze.staric@…>, 2 years ago (diff)

Moved orange to Orange (part 2)

Line 
1import orngServerFiles
2
3# remove a file from a local repository and download it from the server
4filename = "urllib2_file.py"
5print orngServerFiles.listfiles("demo")
6orngServerFiles.remove("demo", filename)
7orngServerFiles.download("demo", filename, verbose=False)
8
9info = orngServerFiles.info("demo", filename)
10print "%s: size=%s, datetime=%s" % (filename, info["size"], info["datetime"])
Note: See TracBrowser for help on using the repository browser.