Category "zip"

pandas read_csv() method supports zip archive reading but not to_csv() method supports zip archive saving

Pandas 0.18 supports read_csv zip file as argument and reading zipped csv table correctly into data frame. But when i am trying to use to_csv() method to save d

Zipfile OpenRead throws Access to the path is denied exception in c# uwp app?

I've been using the following piece of code for months without a problem and all of a sudden, it throws at me the "Access to the path is denied" exception. I've

Uploading zip with multiple files into a shiny application

I am trying to upload a zip file through my shiny app that contains a bunch of xml files in it, and then process them. My code looks something like this: libra

Why does Python zipfile not give the same output .zip file size as command-line zip?

Here is the size of the file generated by zip: $ seq 10000 > 1.txt $ zip 1 1.txt adding: 1.txt (deflated 54%) $ ls -og 1.zip -rw-r--r-- 1 22762 Aug 29 10

How to read data from nested zip files in Java without using temporary files?

I am trying to to extract files out of a nested zip archive and process them in memory. What this question is not about: How to read a zip file in Java: NO, t

Java: Telling whether a byte array is a zip file

I have a server written in Java, that in a single request, gets a whole file from the client. The file is passed to the server as a list of bytes, and is finall

Capistrano commands

Can anyone tell me why the following command will not work. execute :zip, :'-r', './version/files/fullsite.zip', :'.',:' -x', :'./version/*' The linux versio

Concatenating or combining ZIP files using SFTP

I am uploading files over 100MB and I am choosing to zip the files, split the .zip and then transferring the file parts. Once transferred to the SFTP, I do not

save multiple objects to zip directly from memory

I'd like to save multiple objects, e.g. figures, created in a loop directly to a zip file, without saving them in directory. At the moment I'm saving the figure

Create zipfile at local and write files from s3

I am creating a zipfile on my local machine and would like to write files from s3. So far I'm unable to do it. Here's what I have in the mean time. import os i

"Bad magic number for file header" for working concatenated zip file using zipfile in Python 3.7

I'm trying to use the Python zipfile library to unzip a split ZIP file by concatenating all file splits and then unzipping the final product, but I keep getting

Cypress - How to verify if a file is downloaded?

I would like to check that a file is downloaded as part of my test. I only need to confirm that the file is downloaded after clicking a button. I have no need t

File update : multiple versions stored inside the ZIP archive

Let's say we have a test.zip file and we update a file: zfh = zipfile.ZipFile("test.zip", mode = "a") zfh.write("/home/msala/test.txt") zfh.close() Repeating a

Total Commander zip command line

is there a command line command to use the Total Commander's pack/unpack function? I know how to use 7Zip and command line but I want to know if there is also a

Can't open compressed file

I'm trying to compress a text file with QT: QFile inFile("d:\\build\\Directories\\Debug\\files\\developer.txt"); bool open_file_result = inFile.open(QIODevice:

Adding jpg files to zipfile,ignore existing(dont overwrite it)

I wanted to know how to add jpg files to a (existing zip with jpg files) ZIP without overwriting the files already in the ZIP.

Rtools with R portable

Hello Fellow enthusiasts, I use portable version of R for a project in a computer where I have no administrator privilege. I use zip function to encrypt & z

Extract files from zip file and retain mod date?

I'm trying to extract files from a zip file using Python 2.7.1 (on Windows, fyi) and each of my attempts shows extracted files with Modified Date = time of extr

Need to ZIP an entire directory using Node.js

I need to zip an entire directory using Node.js. I'm currently using node-zip and each time the process runs it generates an invalid ZIP file (as you can see fr

Saving a zipfile into directory using django

I am trying to save the zip file into one directory on my server. First, I am uploading a zip file using form and in python, I want to save it in one directory