pymacs! :-)
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Tue Sep 4 12:55:46 EDT 2001
04 Sep 2001 11:14:13 -0400, François Pinard <pinard at iro.umontreal.ca> pisze:
> Second, I'd like to find a way for any function or variable
> which is not defined in Python to be resolved within Emacs if
> possible: the idea is to use Emacs elegantly from Python, using
> Python syntax for function calls, without explicitly resorting to
> `eval_lisp("LISP-EXPRESSION")'.
I would use something like
lisp.variable_name
where lisp is an object with a suitable __getattr__.
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
More information about the Python-list
mailing list