Re: Running an interactive interpreter inside a python

2008-05-15 Thread R. Bernstein
castironpi <[EMAIL PROTECTED]> writes: > On May 15, 6:26 am, [EMAIL PROTECTED] (R. Bernstein) wrote: >> "Alan J. Salmoni" <[EMAIL PROTECTED]> writes: >> >> > I'm not sure if this is exactly what you're after, but try looking >> > into the 'code' module. >> >> > It's fairly easy to make an interact

Re: Running an interactive interpreter inside a python

2008-05-15 Thread castironpi
On May 15, 6:26 am, [EMAIL PROTECTED] (R. Bernstein) wrote: > "Alan J. Salmoni" <[EMAIL PROTECTED]> writes: > > > I'm not sure if this is exactly what you're after, but try looking > > into the 'code' module. > > > It's fairly easy to make an interactive interpreter that runs within > > your progra

Re: Running an interactive interpreter inside a python

2008-05-15 Thread R. Bernstein
"Alan J. Salmoni" <[EMAIL PROTECTED]> writes: > I'm not sure if this is exactly what you're after, but try looking > into the 'code' module. > > It's fairly easy to make an interactive interpreter that runs within > your program. If you import your programs variables into > __main__.__dict__, you c

Re: Running an interactive interpreter inside a python

2008-05-14 Thread Alan J. Salmoni
I'm not sure if this is exactly what you're after, but try looking into the 'code' module. It's fairly easy to make an interactive interpreter that runs within your program. If you import your programs variables into __main__.__dict__, you can have access to them which can be funky. You can even o