running application config files written in Python

David Steuber trashcan at david-steuber.com
Wed Apr 28 03:11:57 EDT 1999


Nathan Froyd <nathan.froyd at rose-hulman.edu> writes:

-> Say I have an application whose configuration language I want to be
-> Python.

I would like to do the same thing.  However, my application will be
written in Python and translated to C or C++ as necessary.  I just
wanted to point out that you will be executing actual code not unlike
the VBA macros in Microsoft Word with this technique.  The Melissa
virus was written in VBA in a Word document.  If there is a way to
sandbox such code, I would love to hear how because it is very useful
to be able to just recycle the Python interpreter for reading
configuration information.

-- 
David Steuber
http://www.david-steuber.com

If you wish to reply by mail, _please_ replace 'trashcan' with 'david'
in the e-mail address.  The trashcan account really is a trashcan.

	"Gee, Mudhead, everyone at More Science High has an
extracurricular activity except you."
	"Well, gee, doesn't Louise count?"
	"Only to ten, Mudhead."

			-- Firesign Theater




More information about the Python-list mailing list