Graham Dumpleton wrote:
>
> I don't understand the problem, you can say where it installs the
> framework, it doesn't have to be under /Library, so can be in your
> special SDK folder. For example:
>
> ./configure --prefix=/usr/local/python-2.5.4 \
> --enable-framework=/usr/local/python-2.5.4/fra
Graham Dumpleton wrote:
> Why don't you want to use MacOS X Framework libraries? It is the
> better installation method.
Because I'm not installing Python, I'm building it. If I were just interested
in installing Python, I wouldn't care whether it was static or shared libraries.
This is all very
I'm trying to build a 64-bit version of Python 2.5.1 on Mac OS X 10.5.6 64-bit
(Intel processor). The configure line I'm using is:
./configure --enable-shared --disable-framework --disable-toolbox-glue
OPT="-fast -arch x86_64 -Wall -Wstrict-prototypes -fno-common -fPIC"
LDFLAGS="-arch x86_64"
Th
Thank you very much, Filip!! :)
Filip GruszczyĆski wrote:
> __call__
>
> 2009/2/19 Uberman :
>> I'm wondering if there's a way to invoke a "function" operator on a Python
>> class instance. For example, given a class instance:
>>
>>m
I'm wondering if there's a way to invoke a "function" operator on a Python
class instance. For example, given a class instance:
myClass = MyClass()
I want to call that instance like a function, with an argument value:
myClass(5.0)
I can override the "()" operator in C++, so I'm
Tim Golden wrote:
> What does your association look like? Try ftype; should be something
> like this:
>
> H:\>ftype python.file
> python.file="C:\Python26\python.exe" "%1" %*
Then, Chris Hulan wrote:
> on my XP system, in the registry under HKEY_CLASSES_ROOT\Applications
> \python.exe\shell\open
I've installed Python 2.6.1 (AMD64) under Windows Vista Ultimate 64-bit.
First off, it didn't register the extension for .PY (although it did register
.PYC).
After manually associating the .PY extension with the python.exe executable, I
am now getting some weirdness on the command line. When I r
I'm using Python 2.5.1, and I'm trying to use the module library as a Zip file
(for example, with python25_d.dll, the module library file would be called
python25_d.zip). This works for the basic modules that come with Python (os,
sys, site, etc.), and it even seems to work when I place my own Pyt
Nobody has any help for me on this one?
Let me see if I can make it clearer by using something simpler:
+---+
---| Peter |---
| +---+ |
| |
V V
I have a bit of a odd arrangement here with SWIG, Python, Embedded Python and
C++ classes exported into Python. Here's the plot:
I have a class defined in a C++ DLL library. I am wrapping this class (we'll
call it "Peter") with SWIG so some of its base functionality is available in
Python. For
On Fri, Aug 29, 2008 at 6:51 AM, Heston James <[EMAIL PROTECTED]> wrote:
> Good afternoon all.
>
> I have an application/script which is launched by crontab on a regular
> basis. I need an effective and accurate way to ensure that only one instance
> of the script is running at any one time.
You c
On Wed, 27 Aug 2008 18:44:46 +0200, "Diez B. Roggisch"
<[EMAIL PROTECTED]> wrote:
>Alexandru Mosoi wrote:
>
>> supposing that I have a server (an instance of SocketServer()) that
>> waits for a connection (ie is blocked in accept()) and in another
>> thread i want to stop the server, how do I do
On Wed, 27 Aug 2008 00:31:37 -0300, "Gabriel Genellina"
<[EMAIL PROTECTED]> wrote:
>In debug mode, python looks for hello_d.pyd - NOT hello.pyd.
>Note that neither hello.dll nor hello_d.dll are recognized anymore since
>version 2.5
Excellent! Thank you, Gabriel. Just what I was missing.
--
ht
13 matches
Mail list logo