We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Please if anyone can help, i wrote a program using python which produce some variables and results. I need to design a GUI using processing3 but i don't know how to connect between python data and processing3 inputs. and thank you.
Answers
You want to run both programs (p3 and python) at the same time and control python program with processing? There are options, I think the easiest is using Net connection. There's a Network library for processing, so you can create a server, and I think you'll find library for python as well.
Other option is using io, like this guy does: http://jj09.net/interprocess-communication-python-java/
And the last option (the least relevant) is to use python mode for processing and try to run your python code in processing!! This may not work if you rely on some additional libraries for python, but worth trying. Good luck!
why not write a GUI in python?
there are libs for that in python
Mant thanks for both of you :)
PySide is a Python-Interface for the (in C++ written) GUI-Framework Qt.
Since it keeps the classnames, you can still read the Qt-documentation.
https://wiki.qt.io/PySide
https://pyside.github.io/docs/pyside/
https://github.com/pinae/ctSESAM-pyside (a program example, German afaik)
http://www.heise.de/ct/ausgabe/2016-1-PySide-grafische-Programme-mit-Python-und-Qt-3045112.html (an article for the program example, German afaik)
https://wiki.qt.io/PySide