</F> > > and if I want to, how do I tweak the block size? [Moshe] > Just like you would in the old days: subclass SimpleHTTPServer, and > substitute the copyfile method with a call to shutil.copyfile with a > non-default size. (IOW, it's easier then what it was before). I think thats a little of an overkill. It requires duplicating the entire method for the sake of one constant. def copyfile(self, source, outputfile): BLOCKSIZE = 8192 to def copyfile(self, source, outputfile, blocksize = 8192): is much more reasonable IMO. Mark.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4