Template - Import modules in pyde

yes, if you want to work on it, and want use sketch.pyde it must be under /sketch/sketch.pyde,
but i talked about use it as a template ( by using the PDE build in template system )
here run Processing 3.5.3 64bit / on win 10 64bit /

\Documents\Processing\modes\PythonMode\template\sketch.pyde

with ( minimal template )

"""
sketch.pyde
"""


def setup():
    size(640, 360)    # Size should be the first statement


def draw():
    background(0)     # Set the background to black


def mousePressed():
 

works fine ( at any PDE start / switch to python mode , and at /file/new/ )

under what environment you tested that path ( for template ) i give you?


thanks, now i could download it.

you are aware that with PDE your files /lib/… can not be opened,
so here a flat structure is preferred