Many thanks for your help,
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/uY9VDY9dfPUJ.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/MgCwe2z0L7wJ.
self.calresultmsg = psychopy.visual.TextStim(self.win,pos=(0,-self.win[1]/4)) self.calresultmsg = psychopy.visual.TextStim(self.win,pos=(0,-win.size[1]/4))from letobii import TobiiControllerSo,self.calresultmsg = psychopy.visual.TextStim(self.win,pos=(0,-self.win[1]/4))
instead of:self.calresultmsg = psychopy.visual.TextStim(self.win,pos=(0,-win.size[1]/4))
Also, would movingfrom letobii import TobiiController
To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/ixQ0gXfy6lcJ.
So how can I make the code in my module correct? I don't want to define win in the module, because I'll want to use that module with other scripts where I may have another win. Also, why does the code work in this set-up? (where the module code also precedes the definition of win)
On Tuesday, March 5, 2013 7:16:10 AM UTC, megaze wrote:On Tue, Mar 5, 2013 at 3:44 AM, Horea Christian <horea....@gmail.com> wrote:So,self.calresultmsg = psychopy.visual.TextStim(self.win,pos=(0,-self.win[1]/4))
instead of:self.calresultmsg = psychopy.visual.TextStim(self.win,pos=(0,-win.size[1]/4))yes.
To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/2kjR0VkEepkJ.
--
You received this message because you are subscribed to the Google Groups "psychopy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-user...@googlegroups.com.
To post to this group, send email to psychop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/psychopy-users/-/BU3VXkPEZycJ.