Advertisement

07.08.2008 at 05:06AM PDT, ID: 23546260
[x]
Attachment Details

automating python to rename file, unzip it to specific folder

Asked by figmit in Python Scripting Language, Scripting Languages

Hello, I have many hundred .kmz files all named consecutively file001.kmz, file002.kmz etc.  I need a python script that can do the following:

- rename each of the .kmz files to .zip files
- unzip the files (using winrar), catch the two pieces of information that come from this operation (an image which is a .png and a .kml). I only care about the .png and would like it to be named consecutively

thank you EE!Start Free Trial
 
Loading Advertisement...
 
[+][-]07.08.2008 at 06:13AM PDT, ID: 21953404

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 06:36AM PDT, ID: 21953634

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Python Scripting Language, Scripting Languages
Sign Up Now!
Solution Provided By: pepr
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.10.2008 at 01:40AM PDT, ID: 21971446

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 03:03AM PDT, ID: 21971790

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 03:09AM PDT, ID: 21971825

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.11.2008 at 12:11AM PDT, ID: 21980461

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.11.2008 at 04:09AM PDT, ID: 21981294

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628