hello, this is a python question. Not web2py.

I need to execute a python script via Component Object Model

for example

python = Dispatch('Python.Interpreter')
line = line from another python file
python.Exec(line)

It work until if finds in the python file something like

for x in range(1,10):

It cannot execute.

Can you help me ?

Thank you

Reply via email to