2009/2/25 Frank von Delft <[email protected]>: > I'm totally not with Paul on this one (is scheme object-oriented???), and > eternally grateful to him and Bernhard for implementing python scripting.
I think that the point was that scheme is not imperative and not particularly object-oriented (but allows both). > Once you understand how python fits, it's spectacularly powerful. > If you want a list of all commands available in the python interpreter -- > some native python, some from the scripting -- you can run the following in > the python script window: > import inspect; inspect.currentframe().f_globals.keys() > It doesn't tell you what the functions do or the arguments are (it's > possible in theory, haven't figured it out yet though), but it's a start. > You can do that in scheme too (in the scheme scripting window): (apropos-internal "") It will be a rather long list, but it will give you a hint what to google for. Another couple of hints: - there is no command completion in the scheme scripting window, there is in python - wincoot doesn't do scheme, but does python. - you can't do all gtk2 things from scheme (as coot doesn't come with guile-gnome), there's no such limitation in python. Hopefully one day there will be no such differences...? But I feel that these shouldn't put anyone off. Scheme is still fun and well worth picking up. J.
