Hello,
I'm running Python under OS X 10.4 on a MacPro, and I'm running up against the
limitations of a 32 bit address space (i.e., I can't use more than 4gb of
space). I have 64 bit processors in my machine -- will upgrading to Leopard
allow Python to use a 64 bit address space?
sorry if thi
x27;t allocate region
Python(23121) malloc: *** set a breakpoint in szone_error to debug
My hope is that Leopard ships with a 64-bit version of Python, so that I can at
least fill up the 10GB of RAM that I have.
Thanks!
- Original Message
From: Conrad Taylor <[EMAIL PROTECTED]>
to access them from within the python script?
I found the examples on how to wrap c/c++ functions but nothing about
ObjectC.
Many thanks in advance
Georg
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/lis
described here:
http://www.python.org/doc/ext/extending-with-embedding.html
but how I do this with ObjectC classes?
Thanks
Georg
Am 19.05.2008 um 15:15 schrieb Jack Nutting:
Can anyone give me some advice how I wrap my cocoa classes to be
able to
access them from within the python script?
I
ridge docs as it is some time
since I used this but that will be easy.
Many thanks for your detailed replies.
Georg
On 22.05.2008, at 05:15, Michael VanLandingham wrote:
Hi Georg,
I've posted an example app up here:
PythonEmbedExample-ObjectPool
cobbled together from some other projects
Thanks in advance
Georg
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
the ?
Or are NIB 3.x file not supported
Or do I miss something obvious?
My Python code:
NibClassBuilder.extractClasses("MyWindow", bundle=NSBundle.mainBundle())
class MyExporter(NibClassBuilder.AutoBaseClass):
Thanks
Georg
ource file: import.c (line: 320)
I do init python in the main.m
does anyone has a suggestion?
Thanks in advance
Georg
p.s. an other small question: why does the python plugin does not
"conformsToProtocol:" even if I declare it? Do I miss something?
__
hello,
is is possible, to build plugins (like the Cocoa Bundles) written in
python? I could use py2app, but I have problems with it (as you can
see in my last post).
There are presets for python apps, but not for bundles.
regards
Georg
works as expected but I would like to be
sure that the plugin conforms.
Do I miss something something?
Georg
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
/Desktop/Pantografer.app/Contents/MacOS/
Pantografer
Reason: image not found
I do not have any python 2.4 on my machine and link again the 2.5
framework.
what could be wrong.
Thanks
Georg
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http
is there a way to select witch framework to use?
Georg
On 9-Aug-2008, at 17:56 , Georg Seifert wrote:
Dyld Error Message:
Library not loaded: /Library/Frameworks/Python.framework/Versions/
2.4/Python
Referenced from: /Users/Tim/Desktop/Pantografer.app/Contents/MacOS/
Pantografer
py)
Does anybody has an idea what to do?
Can I somehow make python to return the actual cocoa object rather
than the proxy?
Many Thanks
Georg
excerpt of my python code:
[..]
def application(appName):
appPath =
NSWorkspace.sharedWorkspace().fullPathForApplicatio
t it can’t find python 2.6.
Is there a my to always use the current python version (2.5 on Leopard
and 2.6 on Snow Leopard)
I link against the "/System/Library/Frameworks/Python.framework"
Regards
Georg
___
Pythonmac-SIG maillist - Pyth
on Leopard).
How do I specify the version to link with.
The 10.5 SDK links against python 2.5 and the 10.6 SDK to 2.6. But
what if I need the 10.6 SKD but want to link to python 2.5?
Regards
Georg
___
Pythonmac-SIG maillist - Pythonmac-SIG@pytho
Hi,
What is the best way to protect my app from crashes if something went wrong in
a PyRun_SimpleString call.
I get (very few) crash reports like the on below.
Does someone know what is going on?
This happened with 10.6.2.
Thanks
Georg
Application Specific Information:
Assertion failed
quot;);
Py_Finalize();
In my app, I week link to python through
OTHER_LDFLAGS = -weak_framework Python
(This was needed to support both Leopard and Snow Leopard.)
Can anyone shed some light on my problem?
Best Regards
Georg Seifert
Hi,
Thanks a lot. This did the trick.
By the way. Is it save to use the "-A" option in my bundles if I ship the
plugin to uses?
Many Thanks
Georg Seifert
p.s. You can have a look at the app (it is an open BETA version)
www.glyphsapp.com
>
>> Hi,
>>
>> I hav
s='GSToolTest',
CFBundleIdentifier = "com.GlyphsTestPlugin.GlyphsExport",
NSHumanReadableCopyright = "Copyright, Georg Seifert, 2010",
)
setup(
plugin = ['GlyphsToolTest.py'],
options=dict(py2app=dict(
method names.
Is it somehow possible to tell python what accessors to use or is there a way
to supply python wrappers? Or could I build a bridgesupport file?
Many Thanks
Georg
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org
e first):
TypeError: 'dictproxy' object does not support item assignment
If I used:
GSPath.nodes = lambda self: PathNodesProxy(self)
It worked somehow, but it actually removed the nodes property from the cocoa
object. And I still had to use the parenthesis.
Best Reg
Hi Ronald,
This works wonderfully. Many Thanks.
Georg
>
> On 11 Jul, 2010, at 1:18, Georg Seifert wrote:
>
>> Hi Ronald,
>>
>> Thanks for your response.
>>
>> I did tried this:
>>
>> class PathNodesProxy (object):
>>
_path+'/Versions/A/Resources/BridgeSupport/MyFramework.bridgesupport')
f.close()
I have to put this in the script for every run. Is there a better way to tell
python to pick the file up automatically?
Best
Georg
___
Pythonmac-SIG maillist - Pythonm
python interpreter? OR if you are using XCode as your IDE for
> developing a Python App?
>
I’m using that in my app (written in ObjectiveC) to be able to run python
scripts inside the app and to load plugins that are written in python but don’t
bring ther
can access each version with a `python3.X` and `pip3.X` binaries. `python`
and `python3` will be of the version you installed last.
Georg
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
https://mail.python.org/mailman/listinfo/pythonmac-sig
uns
25 matches
Mail list logo