[Tutor] Let imported module access calling program
Kent Johnson
kent37 at tds.net
Tue Mar 25 03:30:31 CET 2008
Shrutarshi Basu wrote:
> I'm working on a module-based robot interface, but I've hit a bit of a
> roadblock. I would like the user's script to be able to simply import
> modules and drive the robot. I want the users code to be executed once
> every few seconds, but I don't want the timing system to be part of
> the users code
This seems kind of strange to me. You want the entire user module to be
re-run? Why don't you want looping and timing to be under the user's
control? Can you show a short example of what the user code might look like?
Kent
More information about the Tutor
mailing list