# Extracting code from ZIP File

**URL:** <https://discourse.processing.org/t/extracting-code-from-zip-file/2376>\
**Category:** Processing\
**Created:** [August 5, 2018, 3:18am UTC](https://discourse.processing.org/t/extracting-code-from-zip-file/2376 "2018-08-05T03:18:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![juan](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@juan](https://discourse.processing.org/u/juan)\
**Post date:** [August 5, 2018, 3:18am UTC](https://discourse.processing.org/t/extracting-code-from-zip-file/2376/1 "2018-08-05T03:18:53Z")

</div>

Hi,  
i am new in Processing. My question is:  
-The code are in ZIP file. What i must to do for run code sample? I want to learn with Steering\_Behavior\_Text… I see for file and dont know what i must to do,  
thanks  
Juan.

---

<div class="post-metadata">

**Author:** ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)\
**Post date:** [August 5, 2018, 3:28am UTC](https://discourse.processing.org/t/extracting-code-from-zip-file/2376/2 "2018-08-05T03:28:49Z")

</div>

If you have downloaded the zip file, first extract it. This will produce an unzipped folder of the same name. Then go into that folder and run the Processing.exe file (assuming you’re on Windows). This will start Processing.

You can then open up examples via File \> Examples…, or just paste the example code you have into the window that appeared. You can also open a .pde file with File \> Open…

---

<div class="post-metadata">

**Author:** ![juan](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@juan](https://discourse.processing.org/u/juan)\
**Post date:** [August 5, 2018, 3:45am UTC](https://discourse.processing.org/t/extracting-code-from-zip-file/2376/3 "2018-08-05T03:45:39Z")

</div>

In my zip file, i have 4 files : extensions: otf,html,js and js. no have any with .pde

---

<div class="post-metadata">

**Author:** ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)\
**Post date:** [August 5, 2018, 3:52am UTC](https://discourse.processing.org/t/extracting-code-from-zip-file/2376/4 "2018-08-05T03:52:06Z")

</div>

Oh! You aren’t having trouble installing Processing! You have a zipped up EXAMPLE!

Try opening the HTML file in your web browser, maybe?

---

<div class="post-metadata">

**Author:** ![juan](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@juan](https://discourse.processing.org/u/juan)\
**Post date:** [August 5, 2018, 3:56am UTC](https://discourse.processing.org/t/extracting-code-from-zip-file/2376/5 "2018-08-05T03:56:08Z")

</div>

yes, i see it in html. Then what must to now?

---

<div class="post-metadata">

**Author:** ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)\
**Post date:** [August 5, 2018, 4:03am UTC](https://discourse.processing.org/t/extracting-code-from-zip-file/2376/6 "2018-08-05T04:03:56Z")

</div>

Well, what do you want to do with it? See the code? Make changes? The .js files are probably the code that drives the example. They’re text files - you should be able to open them in a text editor, or even Processing’s IDE. Then you can edit them.

You could even post the example code here and ask for help understanding it. Make sure you format the code if you do (put it between two sets of three tick marks (```)).

---

<div class="post-metadata">

**Author:** ![juan](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@juan](https://discourse.processing.org/u/juan)\
**Post date:** [August 5, 2018, 4:11am UTC](https://discourse.processing.org/t/extracting-code-from-zip-file/2376/7 "2018-08-05T04:11:06Z")

</div>

I want to see de code and make changes for learning. Excuse me, but this code have 2 folder (function and principal) i try for join in a file for run but have an error message showme.how i can to convert to pde file?. Thanks!

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [August 5, 2018, 7:01am UTC](https://discourse.processing.org/t/extracting-code-from-zip-file/2376/8 "2018-08-05T07:01:00Z")

</div>

Where did you get the zip from? Can you share your source?

Kf
