by: Preston H |
last post by:
Hello, someone may have tackled this problem before but I have
searched the google newsgroups up and down and I can't find anything
on this. I am trying to write an embedded python program in C++...
|
by: Link |
last post by:
Hi,
Have anyone know how to import the DLL in C program?
Actually, I have used the statement 'PyRun_SimpleString' to import .PY,
Such as,
r = PyRun_SimpleString("import os");
It's be...
|
by: Bill Orcutt |
last post by:
Having seen the number of lost souls asking questions about embedding
Python in the archives of this group, I hesitate to add myself to
their number, but I've hit a problem I can't quite get my...
|
by: Roberto |
last post by:
I cant get result from PyRun_File maybe someone can get me in the right
direction??
Follow code:
PyObject* localDict;
PyObject* mainModule;
PyObject* mainModuleDict;
|
by: Kim |
last post by:
Hi everyone,
I'm writing a embeded python program, and I want to evaluate some
expression by calling function:
PyRun_SimpleString("print 'hello'")
I don't want to output it to stdout but...
|
by: Shane |
last post by:
Greetings,
I've been trying to get PyRun_SimpleFile to work from Delphi without
success, has any one done this?
Doing it in C/C++ is trivial, but I need Delphi and I'm not a Delphi
expert.
...
|
by: iwl |
last post by:
Hello,
I'm just starting with Python - would like to embed it in my
windows-programm as an script-processor. For tests I use easygui some
easy-wrapper for the py-tck-stuff.
...
|
by: iwl |
last post by:
Hi,
it seems like I can't trace scripts run by PyRun_SimpleString():
a=0
def test(frame, event, arg):
global a
a+=1
import sys
|
by: ShambhuHubli |
last post by:
Hi all!! .. I am New member to this group.
And also new to C/PYTHON API coding.
I am trying to have two way communication i,e i am calling from python to C and then from C to python.
I have no...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|