|
by: disgracelands |
last post by:
I've been looking at using python and it's been going fairly well so far, i
can call C from python and python from C fine but now i've hit a snag and
i'm wondering how you guys have got around it.
I have to initialise python inside my C project so that i can make calls to
python modules whenever i need to but i can't create a dll for the project
as it's got to produce an exe or at least a lib so that i can execute the
initialisation...
|
by: Stefan |
last post by:
Hello,
I've embedded Python in bigger application on a Debian system.
Now I try to compile this application on Suse and find that the shared
library libpython.so is not available. So I want to use the archive
libpython.a and cannot figure out how to add this to my configure.in.
I thought I could learn it from the Demos supplied with Python, but
on Suse the Demo/embed directory has no Makefile; the original
source-distribution only...
|
by: Robert Ferber |
last post by:
Hi,
I'm a PHP-programmer who evaluates Python for a new project.
I really like a lot of concepts of Python, especially the shell, but there
is one great feature of PHP which I don't know how to replace in Python:
For database-intensive webpages, I like to cache the HTML-output on the fly
in the filesystem and put out the file later whenever the same URL is
requested again, for example:
|
by: kyo guan |
last post by:
HI :
I want to test my system's performance. My system has a python embed. How can I test the proformance like the
python module "profile" or "hotshot" . I can't use the module "profile" because my system are base callback, so I can't run my
system
like this: profile.run(" xxxx "). The system call the python like this : " mypython.on_xxx_callback ". but there are too many
callback.
and I want to get the total profile of the hope python...
|
by: Wezzy |
last post by:
Hi, is there a tool that automatically expose an object to python? i
have an instance of a C++ (or ObjC) object and i want to pass it to the
embed interpreter that runs inside my program.
Python code have to call c++ method and register some callback.
I know that swig helps when python creates c++ instance but i've the
instance and i want to use it with python.
Thanks
|
|
by: Lloyd |
last post by:
Hi
After researching on Extending and Embedding it appears Extending is
favoured greatly over Embedding. I've tested Boost::Python successfully
in a test project but have run into an issue.
I have about 10 shared libraries that up until now have only been
statically linked into an application and used from C++. I'd like to
expose a lot of this functionality as different Python modules ( core,
network, input, etc ), however the...
|
by: qualitychecker |
last post by:
Hello thanks for your help..
I try to reference a PHP module from within a HTML file, see below
----------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<titleMy title </title>
</head>
<body>
on place un embed
<embed id="embed1" alt="ne marche pas..." src="ws.php?
|
by: Heiko Niedermeyer |
last post by:
Sorry for the fuzzy subject...
Currently I'm writing a little programm to extract some chemical
information out of a text file, and then present it in a pleasant way.
The Extraction works so far, so now the presentation will be next.
As I'm learning Python from scratch, I don't care wether to use (=learn)
TKinter or PyQt or whatever, I just need some advice, which suits my
needs best.
It would be nice to have the programm working...
|
by: elbin |
last post by:
Hello,
first to say that I am a total beginner in Javascript but I know some programming (python in particular) and am able to understand methods/parameters and so on.
Here's my problem:
I am trying to set up a page that changes every time it's visited, but without using php(which i don't know either) because it's not active on the server. The thing that should change is a single number in one attribute of an <embed> tag inside an <object>....
|
by: oyster |
last post by:
In my ms-word documnet, there are some calculation whihc I have to
change due to different argumnet. is there any way to embed python
code in word, so that I can write the following as a macro or
something else, then the result (i.e. 2) is shown in the word
documnet?
def f(n):
if n<2:
return 1
else:
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|