kwantdev

Results 5 comments of kwantdev

@dargueta thanks for your response. Unfortunately, the documentation is pretty vague. I don't understand from there about the first argument "src_fs (FS or str) – Source filesystem (instance or URL)."...

Okay, I figured it out. The working code: ``` os_fs = fs.open_fs('osfs://d:/project)) mem_fs = fs.open_fs('mem://') mem_fs.makedir('zip') zip_file = 'test.zip' fs.copy.copy_file(os_fs, zip_file, mem_fs, 'zip/test.zip') ``` But I think the documentation should...

@lurch Wow I didn't know there is an easy way to extract the content of a zip file into a memory file system, this is superhelpful, thanks!

@dargueta I was trying to copy just because I didn't know that extracting can be done in other, simpler way. Also, I needed the copying anyway, so this thread turned...