Alex Popescu wrote:
"Steven D'Aprano" wrote in
news:pan.2007.07.29.03.39.34.703...@remove.this.cybersource.com.au:
... you're expecting the users to write working Python code, but
you think "import module" is too hard for them?
That was just a cherry on the cake. The most important part is t
On Sun, 29 Jul, Steven D'Aprano wrote:
> (1) Don't use eval, exec or execfile.
Ok, then I would really like to ask a question about how to solve my
problem without execfile ... ;-)
I am embedding Python on Windows using MinGW. In order to execute a
Python script file, calling any of the PyRun_Fi
"Steven D'Aprano" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> On Sat, 28 Jul 2007 15:17:56 +, Alex Popescu wrote:
>
>> Hi all!
>>
>> From another thread (and the pointed PEP) I have found that execfile
>> will not be present in Py3k. So, I am wondering what will be its
>> replace
On Sat, 28 Jul 2007 15:17:56 +, Alex Popescu wrote:
> Hi all!
>
> From another thread (and the pointed PEP) I have found that execfile
> will not be present in Py3k. So, I am wondering what will be its
> replacement? Considering that most probably Py3k will keep eval and
> exec, this will sti
Hi all!
>From another thread (and the pointed PEP) I have found that execfile will
not be present in Py3k. So, I am wondering what will be its replacement?
Considering that most probably Py3k will keep eval and exec, this will
still be possible (indeed requiring manual loading of the file strin