Re: [Pythonmac-SIG] Running PyObjC projects after installing 3.3 for testing

2011-08-25 Thread Sean DiZazzo
Does virtualenv work on Mac nowadays? It might be another approach. It works great for keeping different installations on the same machine separate. Not sure how it would work with framework builds though. On Thu, Aug 25, 2011 at 7:18 AM, Vinay Sajip wrote: > Ronald Oussoren mac.com> writes:

Re: [Pythonmac-SIG] using py2app with scipy (Russell E. Owen)

2011-08-12 Thread Sean DiZazzo
Sorry if this is naive, but you might want to try unzipping the egg at /Library/Python/2.6/site-packages/pytz-2011h-py2.6.egg It reminds me of the error I get when I try to edit a file in a package that was installed as an egg. On Fri, Aug 12, 2011 at 8:56 AM, Michael Schmidt wrote: > Thanks for

Re: [Pythonmac-SIG] Progressbar in tkinter app

2011-07-15 Thread Sean DiZazzo
You need a separate thread. Well, you might be able to get the progressbar to update, but your app will be unresponsive until the task finishes. Here's the article I used to learn: http://uucode.com/texts/pylongopgui/pyguiapp.html It's a little overly complicated but works very well. ~Sean On

Re: [Pythonmac-SIG] os.getcwd() returns lower case current working directory

2010-11-04 Thread Sean DiZazzo
When formatting a drive last week, I noticed that Mac allows you to format as case-insensitive. Just a guess. On Mon, Nov 1, 2010 at 3:11 PM, Klaasmer wrote: > Hi there, > > when I call os.getcwd() on my Mac under OS X 10.6.4 from my home directory, > the path is converted to lowercase. I get >

Re: [Pythonmac-SIG] py2app/wx font embed problem

2010-11-03 Thread Sean DiZazzo
Ok. Thanks. I'll give it a try (again). I had some problems getting MySQLdb installed previously, so I figured I'd give darwin ports a try...where MySQLdb installed without a hitch. uggh On Wed, Nov 3, 2010 at 12:32 PM, Aahz wrote: > On Wed, Nov 03, 2010, Sean DiZazzo wrote

[Pythonmac-SIG] py2app/wx font embed problem

2010-11-03 Thread Sean DiZazzo
Hi all, I'm trying to package an app for both windows and mac. It uses wxpython, MySQLdb and SQLObject. On Windows, I used py2exe, and got it working right away. On my mac, I have had problems getting it to work. I am using python2.6 on darwin ports along with the needed libraries. When I run

[Pythonmac-SIG] Appscript unpredictable error

2010-08-03 Thread Sean DiZazzo
Hi, I'm using appscript to do some work in Quicktime, and it keeps erroring out somewhat unpredictably. I am opening and closing lots of documents in quick succession when it happens. It doesn't happen every time, but about 70%-80% of the time. When it errors, it always errors trying to make a

Re: [Pythonmac-SIG] .exe r .dmg install

2009-09-12 Thread Sean DiZazzo
but it shouldn't be too difficult. hmm... Cant you do a bit of searching yourself? ~Sean On Fri, Sep 11, 2009 at 11:50 PM, Sean DiZazzo wrote: > Yes. py2exe (http://www.py2exe.org/) and py2app ( > http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html) > > These will take a

Re: [Pythonmac-SIG] .exe r .dmg install

2009-09-11 Thread Sean DiZazzo
Yes. py2exe (http://www.py2exe.org/) and py2app ( http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html) These will take a Python program and create an executable file that doesn't rely on any installation of Python or the required libraries. (If the package is created correctly) Is that w

Re: [Pythonmac-SIG] Using Finder to open app by id

2009-08-22 Thread Sean DiZazzo
Why not just ssh in and run "open /Applications/Preview.app" ? On Sat, Aug 22, 2009 at 10:35 AM, Charles Miller < cmil...@securityevaluators.com> wrote: > Thanks for the thought. Unfortunately, the same thing happens with > TextEdit, for example. (BTW, you can make Preview AppleScriptable by >

Re: [Pythonmac-SIG] appscript with Quicktime - "Connection is invalid' error

2009-06-26 Thread Sean DiZazzo
On a whim I tried the 0.20.0 version that was released today. To my surprise, export() has grown a new keyword... timeout! Look like it's solved my problem so far... Talk about luck. Thanks. ~Sean On Fri, Jun 26, 2009 at 4:57 PM, Sean DiZazzo wrote: > Let me first say thank you. Th

[Pythonmac-SIG] appscript with Quicktime - "Connection is invalid' error

2009-06-26 Thread Sean DiZazzo
Let me first say thank you. This is my first time playing with appscript, and it has been a joy to work with. It took me about a half hour of figuring out a few commands that I was trying to do. Then, all of a sudden, I was writing it almost as if I had known it for years. It scared me a bit at

Re: [Pythonmac-SIG] string ids

2008-12-29 Thread Sean DiZazzo
Interesting... It behaves correctly for strings if you use a list inside the comprehension instead of a tuple. ~Sean On Mon, Dec 29, 2008 at 7:01 AM, Feat wrote: > I thought a string was stored as a unique object, so why isn't this > evidenced by the code below ? > >Python 2.5.2 (r252:60

Re: [Pythonmac-SIG] python3 on my mac

2008-12-25 Thread Sean DiZazzo
You didn't hurt your system install. I've been running python built from source like that alongside my system python for years with no problems. Not sure about IDLE... Mine works fine with 2.5.2 compiled and installed as you did. I'm curious of what the real benefits of installing python as a fra

Re: [Pythonmac-SIG] py2app and Terminal

2008-12-24 Thread Sean DiZazzo
Give your app a shebang line """#!/usr/bin/env python"" and then rename the script ".command" Then you can double click it and it will open a shell and run. ~Sean On Wed, Dec 24, 2008 at 10:53 AM, Bryan Smith wrote: > Hi everyone, > > I am just finishing up an application and I would like to crea