[Pythonmac-SIG] graphics.py

2005-11-02 Thread Dylan Hunter
Is anyone else forced to use graphics.py with macpython? it recognizes graphics as a module, but after running my code, it will restart using graphics, as it should. then it will restart back into the regular python module after about 3 seconds. any suggestions as to why this happens?

Re: [Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Ronald Oussoren
On 2-nov-2005, at 23:14, Bob Ippolito wrote: > > On Nov 2, 2005, at 2:06 PM, Ronald Oussoren wrote: > >> On 2-nov-2005, at 22:17, Bob Ippolito wrote: >> >>> Speaking of which, the svn trunk of py2app should be able to >>> analyze and write Mach-O headers of any combination of supported >>> ar

Re: [Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Bob Ippolito
On Nov 2, 2005, at 2:06 PM, Ronald Oussoren wrote: > On 2-nov-2005, at 22:17, Bob Ippolito wrote: > >> Speaking of which, the svn trunk of py2app should be able to >> analyze and write Mach-O headers of any combination of supported >> architectures now (32-bit of both endians, 64-bit of both

Re: [Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Ronald Oussoren
On 2-nov-2005, at 22:17, Bob Ippolito wrote: > > Speaking of which, the svn trunk of py2app should be able to > analyze and write Mach-O headers of any combination of supported > architectures now (32-bit of both endians, 64-bit of both endians, > and the universal header that wraps them).

Re: [Pythonmac-SIG] Framework build of 2.4.2

2005-11-02 Thread Ronald Oussoren
On 31-okt-2005, at 10:38, Michael Hudson wrote: > Ronald Oussoren <[EMAIL PROTECTED]> writes: > >> BTW. Actually building the beast sucks, the script for building the >> documentation index is not very reliable: it crashes while waiting >> for the indexer to finish. Luckily I can compensate for t

Re: [Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Bob Ippolito
On Nov 2, 2005, at 11:55 AM, Ronald Oussoren wrote: > On 2-nov-2005, at 20:38, Richard Rodriguez wrote: > > >> "webdemo.py" opens a cgi server on a port, I'm using port 1770. It >> does this by using: BaseHTTPServer.HTTPServer >> This allows me to use a web browser, and open a python file, whic

Re: [Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Chris Barker
Richard Rodriguez wrote: > I guess it executes it "like a real CGI script". This is probably not the best mmodel to use for what you are doing. If I understand correctly, you're trying to write a small, stand-alone, custom web server, that the user can click on, then interact with through the

Re: [Pythonmac-SIG] Using Sync Services from python

2005-11-02 Thread Bob Ippolito
On Nov 2, 2005, at 6:38 AM, David wrote: > Does anyone know if it would be possible to use Sync Services from > python, or from any other programming language than obj C? Can it be > accessed through Apple Script? Nearly anything that you can do in Objective-C can be done in PyObjC with Python.

Re: [Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Ronald Oussoren
On 2-nov-2005, at 21:06, Richard Rodriguez wrote: >> On 2-nov-2005, at 20:38, Richard Rodriguez wrote: >> >>> "webdemo.py" opens a cgi server on a port, I'm using port 1770. >>> It does this by using: BaseHTTPServer.HTTPServer >>> This allows me to use a web browser, and open a python file,

Re: [Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Richard Rodriguez
> On 2-nov-2005, at 20:38, Richard Rodriguez wrote: > >> "webdemo.py" opens a cgi server on a port, I'm using port 1770. It does >> this by using: BaseHTTPServer.HTTPServer >> This allows me to use a web browser, and open a python file, which is >> generating HTML >> A browser url would look

Re: [Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Ronald Oussoren
On 2-nov-2005, at 20:38, Richard Rodriguez wrote: > "webdemo.py" opens a cgi server on a port, I'm using port 1770. It > does this by using: BaseHTTPServer.HTTPServer > This allows me to use a web browser, and open a python file, which > is generating HTML > A browser url would look like:

Re: [Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Richard Rodriguez
"webdemo.py" opens a cgi server on a port, I'm using port 1770. It does this by using: BaseHTTPServer.HTTPServer This allows me to use a web browser, and open a python file, which is generating HTML A browser url would look like: http://localhost:1770/cgi-bin/test_real3.py So I have 2+ files,

Re: [Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Ronald Oussoren
On 2-nov-2005, at 4:24, Richard Rodriguez wrote: > I created a python cgi-server, and generate web pages with python. > After getting past the main mac issues, I'm down to the last 1, a > stand-alone app. My "py2app" generated app works, except that it > is looking at the installed python

Re: [Pythonmac-SIG] Loading modules on MacOS

2005-11-02 Thread Jure Menart
Hi, Ronald Oussoren wrote: > Why not build libcore_module1.dylib as one would normally do (and I > haven't done that yet, so can't help you there, -dynamiclib seems to > be the right way). Then use distutils to build the extensions, that > way the exentions get build how they should be. wel

Re: [Pythonmac-SIG] Loading modules on MacOS

2005-11-02 Thread Jure Menart
To answer myself: My compilation/linking and everything was OK, it was MacOS system problem. Here is link to the answer: http://lists.apple.com/archives/darwin-development/2002/Dec/msg00179.html Thanks for suggestions, Regards, Jure Menart Jure Menart wrote: > Hi, > > Ronald Oussoren wrote:

[Pythonmac-SIG] Using Sync Services from python

2005-11-02 Thread David
Does anyone know if it would be possible to use Sync Services from python, or from any other programming language than obj C? Can it be accessed through Apple Script? thanks /David ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.p

[Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Richard Rodriguez
I created a python cgi-server, and generate web pages with python.  After getting past the main mac issues, I'm down to the last 1, a stand-alone app.  My "py2app" generated app works, except that it is looking at the installed python for something.  I didn't notice until I tried on a mac wi

[Pythonmac-SIG] py2app generated app, not acting as a stand-alone app

2005-11-02 Thread Richard Rodriguez
I created a python cgi-server, and generate web pages with python.  After getting past the main mac issues, I'm down to the last 1, a stand-alone app.  My "py2app" generated app works, except that it is looking at the installed python for something.  I didn't notice until I tried on a mac wi