Re: [PyMOL] pyMol executing python script: file path

2010-04-15 Thread Petr Benes
Dear Mr. Hall, thank you very much for your help. This really works (I have tested it now on windows). Regards, Petr Benes 2010/4/15 David Hall li...@cowsandmilk.net: I think you'll be saddened to discover that if you try what Petr (the original poster) was doing, sys.argv[0] won't work

[PyMOL] pyMol executing python script: file path

2010-04-14 Thread Petr Benes
), inspect.getfile(sys._getframe(1))), all of them point to the pyMol __init__.py file which is not what I need. Thank you. Petr Benes. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself

[PyMOL] model refuses to display surface and mesh

2009-03-06 Thread petr benes
this works no longer with 1.1 version Does anyone know how to fix the issue? Thanks. Petr Benes from chempy.models import Indexed from chempy import Bond, Atom from whrandom import random from pymol import cmd model = Indexed() # create some atoms for a in range(1,11):    at = Atom()    at.name