# Python/Py5Editor

**URL:** https://discourse.processing.org/t/python-py5editor/46990
**Category:** Gallery
**Created:** [August 20, 2025, 3:10pm UTC](https://discourse.processing.org/t/python-py5editor/46990 "2025-08-20T15:10:36Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [August 24, 2025, 4:04pm UTC](https://discourse.processing.org/t/python-py5editor/46990/2 "2025-08-24T16:04:38Z")

</div>

Hello @svan ,

Cool beans!  
I certainly learned a lot dissecting this material. `:)`

I tried this and was successful and sharing some tips below.

**Windows 10 or 11 Users**

You can get the _ **file paths** _ in a command prompt with _ **where** _ command:

> C:\Users\GLV\>where python  
> C:\Users\GLV\AppData\Local\Programs\Python\Python313\python.exe
> 
> C:\Users\GLV\>where py5-run-sketch.exe C:\Users\GLV\AppData\Local\Programs\Python\Python313\Scripts\py5-run-sketch.exe

You can’t _ **cut and paste** _ above into your Java code!  
You MUST choose one these options:

1. replace the `\` with a `/`
2. replace the `\` with a `\\`

Reference to explain the above:  
_[Missing semicolon error when there really is one - #4 by glv](https://discourse.processing.org/t/missing-semicolon-error-when-there-really-is-one/46805/4)_

I created strings at the top of code for my file paths to use later in the source code provided:

```auto
String sMod = "C:/Users/GLV/AppData/Local/Programs/Python/Python313/python.exe";
String sImp = "C:/Users/GLV/AppData/Local/Programs/Python/Python313/Scripts/py5-run-sketch.exe";
String sFolder = "D:/Users/py5_code";

```

This is also in the responses to one of your links and _ **much simpler** _:

> You might also try dragging the `.jar` files directly onto the Processing editor.  
> – [Kevin Workman](https://stackoverflow.com/users/873165/kevin-workman)  
> [Commented Mar 25](https://stackoverflow.com/questions/43004770/how-to-add-?external-libraries-in-processing#comment73113133_43007929)

References:

[![](https://img.youtube.com/vi/cI6Nby5UXqc/hqdefault.jpg "Talks - James Schmitz: Creative Coding with py5, the Python version of Processing") ](https://www.youtube.com/watch?v=cI6Nby5UXqc)

[py5 | ixora.io](https://ixora.io/projects/py5/) \< James Schmitz website  
[https://py5coding.org/](https://py5coding.org/) \< _ **Welcome to py5!** _ website

`:)`

---

_[View the full topic](https://discourse.processing.org/t/python-py5editor/46990)._
