Hi
where's "python24.l ib" ?
I'm trying to test the example given at Python documentation:
5.1 Very High Level Embedding
I'm using Microsoft Visual C++ 6.0 and got the error:
LINK : fatal error LNK1104: cannot open file "python24.l ib"
baitelli,r.
_______________ _______________ _______________ _______________ _____
AVISO
Esta mensagem é destinada exclusivamente a(s) pessoa(s) indicada(s)
como destinatário(s) , podendo conter informações confidenciais,
protegidas por lei.
A transmissão incorreta da mensagem não acarreta a perda de sua
confidencialida de.
Caso esta mensagem tenha sido recebida por engano, solicitamos que
seja devolvida ao remetente e apagada imediatamente de seu sistema. É
vedado a qualquer pessoa que não seja destinatário, usar, revelar,
distribuir ou copiar ainda que parcialmente esta mensagem.
_______________ _______________ _______________ _______________ _____
DISCLAIMER
This message is destined exclusively to the intended receiver. It may
contain confidential or legally protected information.
The incorrect transmission of this message does not mean loss of its
confidentiality .
If this message is received by mistake, please send it back to the
sender and delete it from your system immediately. It is forbidden to
any person who is not the intended receiver to use, reveal,
distribute, or copy any part of this message.
_______________ _______________ _______________ _______________ _____ 0 1203 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tero Pihlajakoski |
last post by:
I'm trying to run some python scripts from a proggy of mine. Most of the
time it works great, but I seem to be having problems with some
modules. Here's what I get when I try importing math (applies to all
..../lib-dynload/ modules, I guess):
ImportError: /usr/lib/python2.3/lib-dynload/math.so: undefined
symbol: PyExc_OverflowError
Executing the same script from command-line works ok. What gives?
I'm using python 2.3.2, and the file...
|
by: Xah Lee |
last post by:
Python Doc Problem Example: gzip
Xah Lee, 20050831
Today i need to use Python to compress/decompress gzip files. Since
i've read the official Python tutorial 8 months ago, have spent 30
minutes with Python 3 times a week since, have 14 years of computing
experience, 8 years in mathematical computing and 4 years in unix admin
and perl, i have quickly found the official doc:
http://python.org/doc/2.4.1/lib/module-gzip.html
|
by: John Dean |
last post by:
Hi
I spent the whole of yesterday trying the get the following C code to
execute
PyRun_String("def title();", Py_file_input, dict, dict);
PyRun_String("\treturn 'Foo Bar'", Py_file_input, dict, dict);
PyRun_String("x = title()", Py_file_input, dict, dict);
PyObject * result = PyRun_String("print x", Py_file_input, dict, dict);
printf( "The result is %s\n", PyObject_AsString( result );
|
by: seberino |
last post by:
How can a proprietary software developer protect their Python code?
People often ask me about obfuscating Python bytecode. They don't want
people to easily decompile their proprietary Python app.
I suppose another idea is to rewrite entire Python app in C if compiled
C code
is harder to decompile.
Any ideas?
|
by: gavinpaterson |
last post by:
Dear Pythoners,
I am writing as I am having trouble embedding a Python program into a
Win XP C++ console application.
I have written a script file for importing and I am trying to use the
example for "Pure Embedding" found in the product documentation.
The program fails to successfully execute past the line:
| |
by: robert.differentone |
last post by:
Could anybody tell me how to call python modules from C.
e.g. my Python module :
def add(a,b)
return(a+b)
How can I call "add.py" from C? Please post any simple example.
I have read Python embedding in Python Manual but I get "ImportError"
all the time?
|
by: marcell71 |
last post by:
I'm trying to get Boost.Python to working using the instructions here: http://www.boost.org/libs/python/doc/building.html. I am on step 3.1.4 and am getting a linking error that I can't figure out. This is the error:
~/Desktop/boost_1_34_1/libs/python/example/quickstart$ bjam toolset=gcc --verbose-test test
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more...
|
by: Severian |
last post by:
I am working on embedding Python 2.5 in my C++ application, and I have a
few questions:
1) My application is multi-threaded; what problems should I be aware of
if I create a separate interpreter in each working thread? The
documentation is a bit vague (or perhaps I haven't found the right
place). Calls into my application are already thread-safe.
2) Rather than implementing my own editor in C++, I would like to be
able to use existing...
|
by: DevEng |
last post by:
Hi all,
I am new to Python and trying to embed it into a c/c++ application. I
started with examples from the documentation pages and go to the Pure
Embedding example (http://docs.python.org/ext/pure-embedding.html). I
can compile and run this example on wxDevC++ with a mingwin compiler.
However when I tried this with Borland C++ Builder 5 I get linker
errors.
The code is the same exactly (the same main.c file), the only
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
| |