Basic python problem in Blender

I’m doing a Python tutorial and I’m on the hello program. I typed in the code and then push alt-p to run the script, and I get nothing. It does nothing. It just stays at the text editor. Anyone know what I’m doing wrong?

did you check for output in the console window?

Martin

Oh. Never tought about that.

Another problem:
The tutroial says type
import Blender
obj = Blender.Object.Get()
print obj
print len(obj)
and you’ll get
[[Object Camera at: <0.000000, -8.128851, 0.000000>],
[Object Plane at: <4.500000, 0.000000, 0.000000>]]
2
as out put. All I get is
[

the print obj will give you problems.

try: print repr(obj)

Martin