From: Dr P H B. <P.H...@bh...> - 2006-07-13 13:07:10
|
I have downloaded VPython-Win-Py2.4-4.beta2.exe (but visual.version = (4, 'beta1')) My operating system is windows Me (update from windows 98) When I import visual as [from visual import *], dir() generates error message : see below but if I import it as "import visual" dir(visual) works ok When I type ball = visual.sphere() I get message from PythonW : PythonW has caused an error in OPENGL32.DLL Help, please Peter Borcherds IDLE 1.1.3 >>> dir() ['__builtins__', '__doc__', '__name__'] >>> from visual import * >>> dir() Traceback (most recent call last): File "<pyshell#2>", line 1, in -toplevel- dir() TypeError: 'str' object is not callable >>> ball = sphere() >>> from Dr P H Borcherds reply to: p.h...@bh... telephone (+44) 121 475 3029 |