Hi,
Thank you for this project !
I am getting errors when trying to use the save function.
The code below:
from processing_py import *
app = App(100, 100)
app.stroke(255, 255, 255)
app.background(0, 0, 0)
app.line(0, 0, 50, 50)
app.redraw()
app.save("test.png")
Returns a NameError:
Starting App...
>> [Jython] Created!
>> NameError("name 'test' is not defined",)
And the code below:
from processing_py import *
app = App(100, 100)
app.stroke(255, 255, 255)
app.background(0, 0, 0)
app.line(0, 0, 50, 50)
app.redraw()
app.save("/path/to/project/test.png")
Returns a SyntaxError:
>> [Jython] Created!
>> SyntaxError("no viable alternative at input '/'", ('<string>', 1, 5, 'save(/path/to/project/test.png)\n'))
Any hint on what is going wrong ?
Here is my config:
- mac OS X 10.10.5
- java version "1.6.0_65"
- python v3.7.9
- processing-py 0.3.6
Hi,
Thank you for this project !
I am getting errors when trying to use the
savefunction.The code below:
Returns a
NameError:And the code below:
Returns a
SyntaxError:Any hint on what is going wrong ?
Here is my config: