Re: [PyMOL] Error while running a python script

2013-03-20 Thread Thomas Holder
Hi Bharat, you should run python scripts from within PyMOL using the "run" command: http://pymolwiki.org/index.php/Running_Scripts Or follow these examples if you really need to launch PyMOL from a python session (not recommended for beginners): http://pymolwiki.org/index.php/Launching_From_a_Scr

Re: [PyMOL] Error while running a python script

2013-03-20 Thread Troels Emtekær Linnet
Is that a space in your command? cmd.load ("1A73.pdb") Troels Emtekær Linnet Ved kløvermarken 9, 1.th 2300 København S Mobil: +45 60210234 2013/3/20 bharat gupta > Hi, > > I am a newbie in python scripting from pymol. I am getting the following > error while using the command cmd.load :- >

Re: [PyMOL] Error while running a python script

2013-03-19 Thread bharat gupta
Hi, I am a newbie in python scripting from pymol. I am getting the following error while using the command cmd.load :- from pymol import cmd print "Current PyMoL Directory:", cmd.pwd() cmd.load ("1A73.pdb") Error:- -- Traceback (most recent call last): File "test.py", line 5, in