VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Tue Sep 04 2007 - 09:18:34 CDT
- Next message: Axel Kohlmeyer: "Re: regular expression in Tcl"
- Previous message: Gianluca Santarossa: "advanced python console"
- In reply to: Gianluca Santarossa: "advanced python console"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Tue, 4 Sep 2007, Gianluca Santarossa wrote:
GS> Dear Vmd users,
GS> I tried to find an answer to my question in the mailing list, I found
GS> something useful but not completely clear for me.
GS>
GS> I'm looking for an advanced python console for VMD with the features
GS> of tkconsole, for example (At least with autocompletion and history).
GS> Is there something available to do so? Any suggestion would be
GS> greatly appreciated.
not that i know of. already tkconsole is something that can be used
to frighten experienced programmers and only works because tcl allows
a lot of extreme hacks. to do the same thing for python would be an
interesting challenge, but at the current level of python support in
VMD, i'd rather suggest using/learning tcl and then sprinkling in
the occasional gopython for calculations that cannot be done easily
in tcl. also in my daily practice i rarely find the need for interactive
features, since most of the time one writes the operation as a script
(in a seperate, programming editor) and then just sources the script
from the prompt. this way debugging is _much_ easier and reproducability
in cases of subtle bugs is easy.
cheers,
axel.
GS>
GS> Thanks,
GS> Gianluca
GS>
-- ======================================================================= Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu Center for Molecular Modeling -- University of Pennsylvania Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323 tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425 ======================================================================= If you make something idiot-proof, the universe creates a better idiot.
- Next message: Axel Kohlmeyer: "Re: regular expression in Tcl"
- Previous message: Gianluca Santarossa: "advanced python console"
- In reply to: Gianluca Santarossa: "advanced python console"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]