need to extend this C code so that it initiates this python script (python C api)

2011-07-02 Thread aregee
) { Py_Initialize(); if(argc != 3) { printf(Usage: %s FILENAME EXPRESSION+\n); return 1; } process_expression(argv[1], argc - 1, argv + 2); return 0; } thanks aregee Ar -- http://mail.python.org/mailman/listinfo/python-list

Re: compute the double square...... :(

2011-01-09 Thread aregee
hey all thanks for yr help,i got it right .n sorry for confussions...i m very new to python...just started learning it couple of days ago... Ian Kelly wrote: On 1/8/2011 11:10 PM, aregee wrote: pie.py:3: Deprecation Warning: integer argument expected, got float for b in range(0,(x

compute the double square...... :(

2011-01-08 Thread aregee
≤ 100 Output For each value of X, you should output the number of ways to write X as the sum of two square Is the code mention below solution to this question what is the fault... Error : are...@aregee-laptop:~/Desktop$ python pie.py enter a number::10 pie.py:3: Deprecation Warning: integer