We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I am looking for a way to get a user input before or inside setup(). Specifically, if I can get either "b" or "w" before the codes in setup() start happening, that is all I need. I've found some solutions regarding this but unfortunately they use codes and libraries based on Java, and I am using Python. Any ideas?
In my coding I ask for an image user input in the setup(), using G4P.selectInput(), which I was able to work it out. I am thinking maybe something similar works, and I tried GTextBase.getText() but, I really can't figure out how it works and therefore I don't know how to use it. I don't even know if it works in my case.