Hi,


This might be a stupid question ... but I just don't get it.



I use the File-> Run command to run a python script from pymol (either
pml or py files).



Only one line in the file:



for i in range(2): print i



gives:



PyMOL>for i in range(2): print i

0

1



fine. however, if I do

for i in range(2):

            print i



I get



PyMOL>for i in range(2):

Traceback (most recent call last):

  File "C:\Program Files\DeLano
Scientific\PyMOL/modules\pymol\parser.py", line 209, in parse

    exec(com2[nest]+"\n",pymol_names,pymol_names)

  File "<string>", line 1

     for i in range(2):

                       ^

 SyntaxError: unexpected EOF while parsing





What am I doing wrong? It doesn't matter what kind of indent (tabs,
spaces) or filetypes (DOS/Unix) I use.



Thanks,

christian







This e-mail and any files transmitted with it may contain confidential and/or 
privileged information. If you are not the intended recipient or have received 
this e-mail in error please notify the sender immediately and destroy this 
e-mail. Any unauthorized copying, printing, disclosure or distribution of the 
material in this e-mail is strictly forbidden.

Reply via email to