Re: [PyMOL] Python Function with Unlimited Positional Arguments

2009-08-02 Thread Warren DeLano
:56 AM To: pymol-users@lists.sourceforge.net Subject: [PyMOL] Python Function with Unlimited Positional Arguments Hi PyMOLers, I am trying to write a python script that will allow a user to provide an unlimited number of positional arguments fo

[PyMOL] Python Function with Unlimited Positional Arguments

2009-08-02 Thread Sean Law
Hi PyMOLers, I am trying to write a python script that will allow a user to provide an unlimited number of positional arguments for a function. I am use to the following scheme for defining a function and its arguments: def some_function ( x, y, z, file="false"): #DO SOMETHING return Where