Ask coding questions

← Back to all posts
1
Processing Python
DelormeXavier (0)

Hello,
i would like to use processing Python with my students on repl.it.
When i write

from processing import *
def setup():
fill(255,0,0)

it doesn't work.

Would it be possible to install processing Python ?

Thank you,

Commentshotnewtop
1
DelormeXavier (0)

Thank you for your answer. But that's a pity. It works on trinket.io but in trinket, i cannot create a class for students as in repl.it.
i will look at brython.
But i am disappointed.

1
kurrycat2004 (0)

Ok, there is a way(bit complicated). You could use the p5.js lib and brython. That would be in python. The sketch would look a bit different but it would be python.

1
kurrycat2004 (0)

I dont think that its possible cause it creates a window and repl doesnt allow that. You could use the p5.js lib instead but its in js.

1
1
1
kurrycat2004 (0)

@kurrycat2004 Ok i did it. Here is the link to the example repl: https://repl.it/@kurrycat2004/p5jspython
I hope i helped you.

1
DelormeXavier (0)

@kurrycat2004 Thank you for your help, i will reflect if i can use it with my students in september.