25 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for nikk8a

Hello friends, I am stuck at a point in downloading multiple files as a single zip such that - the generated zip by my code for user download seems to be not a properly formed one. While trying to open the generated zip, I get an error as - "Cannot …

Member Avatar for Sachin_41
0
10K
Member Avatar for toll_booth

I am struggling to get the following code to work in Python 3. from mpl_toolkits.mplot3d import Axes3D from mpl_toolkits.mplot3d.art3d import Poly3DCollection import matplotlib.pyplot as plt fig = plt.figure() ax = Axes3D(fig) x = [0,1,1,0] y = [0,0,1,1] z = [0,1,0,1] #verts = [zip(x, y,z)] verts = list(zip(x, y, z)) ax.add_collection3d(Poly3DCollection(verts)) …

Member Avatar for DerSoldi
0
2K
Member Avatar for flebber

This is a simple problem that for some reason I can't get to work. The problem I created for myself was to use call a function from a function using *args and print out the question and solution. I want the output to vary as the *args can accept any …

Member Avatar for flebber
0
293
Member Avatar for rajendher

if i have 10 files in a folder then how to make a zip file for download. any suggestion here or any links . please reply... thanks for reply in advance....

Member Avatar for cereal
0
206
Member Avatar for panda_pow

Okay, there may already be a post out here that is similar to this, but I wasn't able to find anything that was helpful. Scenario: I have a zip folder that contains a folder structure (web site) and batch file. Objective: I need something that will enable a user to …

Member Avatar for RikTelner
0
204
Member Avatar for developer707

Hi to everyone, I am a begginer on php so maybe this question will appear to simple to someone. My issue is that I want to output a list with all .zip files that are in my site directory. Also for each file I want some details for exemple: Filename: …

Member Avatar for developer707
0
272
Member Avatar for Ismatus3

Hello , I am trying to modify a backup script , using the zipfile module , it creates the folder of the day , and inside it the zip file that contains the two source folders , but not the underfolders and the files inside them . here is all …

Member Avatar for Ismatus3
0
218
Member Avatar for crag0

I am still new to programming and hoping someone can point me in the best direction. I am creating a script that monitors a directory and creates a zip file and then mails the archive. I have successfully monitored the dir and can zip the files. I am somewhat lost …

Member Avatar for Gribouillis
0
357
Member Avatar for jaimin4829

I have created an application which compress & convert a file in .rar or .zip format.But it can't be open and give error that the file is damaged!!! string filetocompress = txtSourceFilePath.Text.Substring(txtSourceFilePath.Text.LastIndexOf("\\")+1); MessageBox.Show(filetocompress); FileStream sourcefile = File.Create(txtSourceFilePath.Text); FileStream destination = File.Create(txtTargetFilePath.Text + filetocompress + ".gz"); byte[] buffer = new byte[sourcefile.Length]; …

Member Avatar for shadyreal
0
1K
Member Avatar for fheppell

I have the following file structure. Some files are dynamically added to a zip file and downloaded. uploads ----- 1 ---------- test.jpg ---------- another-test.jpg ----- 2 ---------- yetanotherfile.jpg ----- 3 ---------- evenmorefiles.jpg However, when I unzip the downloaded file it keeps that same structure (only with some files missing) and …

Member Avatar for fheppell
0
280
Member Avatar for rexdon

I want to add a zip file into installation setup in c sharp. I am using visual studio 2010.

Member Avatar for rexdon
0
253
Member Avatar for kumar_g

Hello Friends I am VB.NET Programmer and currently working on a project where i have to copy the rar/zip file from any folder. While pasting it, it should extract the rar/zip contents automatically. I am done with my extracting part but Here are some problems i am facing Problem 1 …

Member Avatar for tinstaafl
0
284
Member Avatar for crag0

I am hoping someone might point me in the right direction. I am still very newbie with coding and python. I am currently trying to open a zip file and I keep getting "file is not a zip file". I have checked using “file” in terminal and it shows as …

Member Avatar for crag0
0
1K
Member Avatar for AmieCutie

So I've been working on a page to locate shops based on zip code and mile distance. I used this tutorial as a walk-through http://htmlcampus.com/build-a-zip-code-store-locator-application-in-php/ Now I've changed a couple of things like the mySQL table is called locations instead of zip_codes. I've tested it and it connects to the …

Member Avatar for cereal
0
1K
Member Avatar for shujat132

i wanna extract many ziped folders, but i am not successfull. i have find out problem but not the solution of that. whenever i pass an array or associative array in a for loop to code given below to extract all ziped folders to unzip it stop working. $zip = …

Member Avatar for shujat132
1
220
Member Avatar for aprilcrash

Hi. I´m writing my first python program - a text adventure game. I want to have a list of possible things a dog could eat, what´s bad about them, how bad they are. So, I thought I´d do this: badfoods = [] keys = ['Food','Problem','Imminent death'] food1 = ['alcohol', 'alcohol …

Member Avatar for TrustyTony
0
286
Member Avatar for nosehat

Is there an easy way to modify the contents of a zip file inside the archive, without unpacking everything to a temp directory, making the change, then packing it all up again? I've got a whole bunch of zip files, each one with a bunch of plain text files (html, …

Member Avatar for nosehat
0
1K
Member Avatar for baseballer

I'm just trying to teach myself how to use java.util.zip, but I'm struggling with one part I think. The code below is what I have so far, I'm just not sure how to actually get it to read in a zip file? Any help would be much appreciated. [CODE] import …

Member Avatar for DavidKroukamp
0
125
Member Avatar for ihatehippies

Currently running python 2.7 on windows 7. I have an app created with wx python and compiled with py2exe. This app has an update utility that polls an update server at startup. If an update is found it downloads the new executable file (approx. 7mb) and makes the switch. It …

0
128
Member Avatar for aljiro

Hi, Anyone know how to access the contents of a password protected zip file via VB.Net? Like read, write, modify the contents as if its a regular folder. I have absolutely no clue how to the above. Its the final missing piece from my program. Any help would be very …

0
97
Member Avatar for mariko

First of all, I would like to apologize if I have posted this in the wrong forum. If I have made this mistake, please tell me where this should be placed and I will quickly fix that. Okay, now to the problem. I downloaded a zip file and extracted it …

Member Avatar for mariko
0
474
Member Avatar for RicardoE

Hi I would like a crhon job to do the following: 1) copy a zip file, eg: [url]www.somesite.com/file.zip[/url] to [url]www.mysite.com/file.zip[/url] 2) unzip such file 3) move the unziped files to another directory, after reading one of those files. Please, I have no idea on how to do this... (my thing …

Member Avatar for RicardoE
0
137
Member Avatar for TySkby

Hi All, I'm sorta stuck on this one. Hopefully some of you folks can help me out... My question in a nutshell: Is there a way to have PHP extract all of the files from an archive without preserving the directory structure? Extra Info: A site I'm working on allows …

Member Avatar for TySkby
0
155
Member Avatar for mcatest

Is it possible to e-mail an .exe or .zip file so that only the recipient can unzip it & it cannot be sent from the recipient to a second recipient? I.e. the file cannot be re-sent from that person to another person. SNIP

Member Avatar for nileshgr
0
185
Member Avatar for Fatshadow

Just wondering if anybody here has any experience of writing programs in C or C++ to use and manipulate the Master File Table, to restore previously deleted files?.....

Member Avatar for Salem
0
1K

The End.