🐍🤝☕ #JPype напряму з’єднує #Python із #Java, дозволяючи використовувати бібліотеки обох мов для наукових обчислень, тестування коду та інтеграції зі спадковими системами
🔗 https://github.com/jpype-project/jpype
So I just fought the weirdest bug in a while: lately #Ghidra provides a #Python scripting interface based on #Jpype (PyGhidra).

I had this script where I thought I fixed a bug by referencing X.y.z instead of X.z. Except nothing changed, the buggy behavior is still there (the file output contains garbage).

I add logging, the logs appear and show everything is fine.

Add more logs, exceptions even (to stop at a specific state). They run and show all is fine.

After I restart Ghidra the bug is gone.

To be clear: there must be some kind of bytecode caching that affects my object reference but does not affect additional logging/exception throwing??

Any ideas?

Version 0.10.7a0 of #py5 just been released! This version requires Python 3.10+, newer versions #numpy and #jpype, and has several bug fixes. Read more about it here:

https://ixora.io/blog/new-release-0107a0/

A new release of py5's #thonny plugin is coming next. Stay tuned!

New py5 Release: 0.10.7a0

Today I announce the release of py5 version 0.10.7a0. Important Updates Version Updates This release includes the following version updates: Minimum Python version is now 3.10 (previously 3.9) JPyp

ixora.io

Maybe my happiness was premature :(

After installing 1.5.1 it failed to start a JVM.
#jpype #py5

Great news! A new version of #jpype (used by #py5) is out and it fixes a problem with non-ascii paths that troubles countless of my students https://github.com/jpype-project/jpype/releases/tag/v1.5.1
I should update my Thonny portable package to get it!
Release v1.5.1 · jpype-project/jpype

What's Changed Cycle by @Thrameos in #1163 Minor typos in the user guide by @pelson in #1171 Make use of pyproject.toml for static project metadata by @pelson in #1133 Fix error in 3.12 during exc...

GitHub
Any C++ sourcerer here? (I think it is a #CPP thing...) #jpype struggles with non-ASCII chars in the JDK path... https://github.com/jpype-project/jpype/issues/1111
Issue with non-ascii characters in the JVM path on Windows · Issue #1111 · jpype-project/jpype

Context: in Brazil, many users have names, usernames and various directories containing non-ascii characters. I found this issue because some students couldn't run the same project/tools that other...

GitHub

Cheers people, anyone into C++ #CPP would like to help both the #Python and #Java communities at once?

I have this #jpype issue that affects many Portuguese-speaking users (and I bet, other international users) that have non-ascii chars in their folder names scattered through their OSs.... https://github.com/jpype-project/jpype/issues/1111

This causes trouble for me personally because #py5 depends on jpype and my students have #ThonnyIDE frequently in a directory with non-ascii chars in its path, due to their usernames or on "Área de Trabalho" (desktop)... etc.

Issue with non-ascii characters in the JVM path on Windows · Issue #1111 · jpype-project/jpype

Context: in Brazil, many users have names, usernames and various directories containing non-ascii characters. I found this issue because some students couldn't run the same project/tools that other...

GitHub
I've been teaching #Processing for some time, now and again someone wants to work with #maps and #cartography and I revisit #unfoldingmaps http://unfoldingmaps.org/ (a #Java library) can anyone suggest something similar but for #Python?
(I could try using the #py5 #jpype Java bridge but I'd rather learn new Python libraries).
Unfolding Maps: Unfolding is a library to create interactive maps and geovisualizations in Processing and Java

Mapping Library For Processing And Java

Working on some Python scripts for Excel manipulation. Lesson learned: #openpyxl is too slow, going back to Apache #poi with #jpype