Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

draw_canvas

edited October 2016 in OpenSesame

Hello,
First, sorry for my bad english
I hope there is the good topic of the forum to speak about that... I train on tutorial exercises.
In the intermediate tutorial, the inline script give me some difficulties. I have finished but it does'nt work.
Difficulties appear at the begenning.

c = draw_canvas()
def draw_canvas(c):
    c = canvas              [...]

_it say me to inspect that:_

NameErrorTraceback (most recent call last)
<ipython-input-2-b13c72a3f6d3> in <module>()
----> 1 c = draw_canvas()

NameError: name 'draw_canvas' is not defined

The note indicates me to disable auto_prepare function, unfortunaly the exemples are to complicate for me because... I m a Rookie.
In fact I don't know where write this function in the script, and if it is necessary to recopy all the function which is represented in the example ?

Does anyone has some advice to help me?

Thank you.

Chris

Comments

Sign In or Register to comment.