The paper presents a programming environment for robotics based on a threaded code architecture. The environment is supported by a multiprocessing operating system and in-cludes a programming language, an interactive interpreter, a debugger, and a multi-window manager. The paper illustrates how the threaded code organization on which the system is based has proved beneficial in obtaining a good integration of the programming tools.