En Sat, 12 Sep 2009 07:37:18 -0300, Gianfranco Murador
escribió:
Ok, I solved the previous error changing the second argument , but i
have another question. Does PyNode_Compile function store the object
code in the file passed as argument? And it will be execute by python?
I mean, it works if
Ok, I solved the previous error changing the second argument , but i
have another question. Does PyNode_Compile function store the object
code in the file passed as argument? And it will be execute by python?
I mean, it works if i type 'python prova.pyc'?
Thank.
--
http://mail.python.org/mailman/l
Yes, i've done some debugging and the error is on
PyParser_SimpleParseString(..) call. I'll try to change the second
arguments..
Thank to all.
--
http://mail.python.org/mailman/listinfo/python-list
En Fri, 11 Sep 2009 15:10:45 -0300, Gianfranco Murador
escribió:
int main(int argc, char *argv[]) {
Py_Initialize();
struct _node *node = PyParser_SimpleParseString("from time import
time,ctime\n"
"print 'Today
is',ctim
On Sep 11, 2009, at 2:10 PM, Gianfranco Murador wrote:
Hi to all python fans,
i'm trying to run this C source file:
[code]
#include
#include
#include
#include
#include
int main(int argc, char *argv[]) {
Py_Initialize();
struct _node *node = PyParser_SimpleParseString("f
Hi to all python fans,
i'm trying to run this C source file:
[code]
#include
#include
#include
#include
#include
int main(int argc, char *argv[]) {
Py_Initialize();
struct _node *node = PyParser_SimpleParseString("from time import
time,ctime\n"