Re: Looking for a way to include Pyhtho scripting INSIDE a python program

2008-04-13 Thread Ivan Illarionov
On Apr 13, 8:20 pm, Bryan Oakley <[EMAIL PROTECTED]> wrote: > Ivan Illarionov wrote: > > You don't need to envoke another interpreter. > > Python can interpret arbitrary python code with exec statement. > > Wrap user's string inside function definition, and exec it. > > > You might want to disable

Re: Looking for a way to include Pyhtho scripting INSIDE a python program

2008-04-13 Thread Bryan Oakley
Ivan Illarionov wrote: > You don't need to envoke another interpreter. > Python can interpret arbitrary python code with exec statement. > Wrap user's string inside function definition, and exec it. > > You might want to disable words like `import`, `exec` and `eval` in > user's code because it's

Re: Looking for a way to include Pyhtho scripting INSIDE a python program

2008-04-13 Thread Ivan Illarionov
On Apr 13, 7:16 am, John Antypas <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm writing in tool in Python that manipulates various data objects read > from various streams. I wanted to give the user a chance to do advanced > work that could not easily be done from a GUI. > > At first, I tried put

Re: Looking for a way to include Pyhtho scripting INSIDE a python program

2008-04-13 Thread Paddy
On Apr 13, 4:16 am, John Antypas <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm writing in tool in Python that manipulates various data objects read > from various streams. I wanted to give the user a chance to do advanced > work that could not easily be done from a GUI. > > At first, I tried put

Re: Looking for a way to include Pyhtho scripting INSIDE a python program

2008-04-12 Thread Bryon
On Apr 12, 10:16 pm, John Antypas <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm writing in tool in Python that manipulates various data objects read > from various streams. I wanted to give the user a chance to do advanced > work that could not easily be done from a GUI. > > At first, I tried pu

Looking for a way to include Pyhtho scripting INSIDE a python program

2008-04-12 Thread John Antypas
Hello all, I'm writing in tool in Python that manipulates various data objects read from various streams. I wanted to give the user a chance to do advanced work that could not easily be done from a GUI. At first, I tried putting in a lightweight scripting language, and then I thought, why not