Re: [Pythonmac-SIG] New subscriber

2011-12-18 Thread Dan Ross
Hey Gil- Try typing "python3" instead of just "python". Dan On Dec 17, 2011, at 3:01 PM, Gil Dawson wrote: > I'm new here. > > Could you please tell me which list I should use to ask a dumb question about > Python for the Mac? > > I was hoping to search the archives for my question, but I h

[Pythonmac-SIG] Py2app and PyPy

2011-08-18 Thread Dan Ross
Does py2app work with PyPy? Has anyone tried it? ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Python on iphone for developers

2011-08-04 Thread Dan Ross
So how does one use this to make an iOS app then? On Thu, 4 Aug 2011 11:58:58 PDT, Bill Janssen wrote: Alex Jouravlev wrote: Is there a port of Python to iPhone? I want to be able to check-out from SVN, edit and run some Python server code now and then. See

Re: [Pythonmac-SIG] Lion

2011-07-21 Thread Dan Ross
Cool. Thanks for the replies guys. Thanks for the PyObjC work too Ronald. On Thu, 21 Jul 2011 09:15:28 +0200, Ronald Oussoren wrote: On 21 Jul, 2011, at 1:28, Dan Ross wrote: Installing python.org's framework should work shouldn't it? On Jul 20, 2011, at 6:23 PM, Bill Janssen wr

Re: [Pythonmac-SIG] Lion

2011-07-20 Thread Dan Ross
I'm wondering if non-system Python will work since that's what I prefer using. On Jul 20, 2011, at 7:14 PM, Aahz wrote: > On Wed, Jul 20, 2011, Dan Ross wrote: >> >> Anyone have reports of Pythons on Lion? > > Are you asking about what's installed, what wo

Re: [Pythonmac-SIG] Lion

2011-07-20 Thread Dan Ross
Installing python.org's framework should work shouldn't it? On Jul 20, 2011, at 6:23 PM, Bill Janssen wrote: > Dan Ross wrote: > >> Anyone have reports of Pythons on Lion? > > It's Python 2.7.1 pre-installed in /System/Library, but I don't kno

[Pythonmac-SIG] Lion

2011-07-20 Thread Dan Ross
Anyone have reports of Pythons on Lion? ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Progressbar in tkinter app

2011-07-15 Thread Dan Ross
finishes. Here's the article I used to learn: http://uucode.com/texts/pylongopgui/pyguiapp.html [4] It's a little overly complicated but works very well. ~Sean On Fri, Jul 15, 2011 at 9:17 AM, Dan Ross wrote: I'm working on a tkinter gui for an app I made. I can't seem to

[Pythonmac-SIG] Progressbar in tkinter app

2011-07-15 Thread Dan Ross
I'm working on a tkinter gui for an app I made. I can't seem to get a progressbar to start and stop while a function runs. (pseduo-code) def my_function(): progress_bar.start() # do a bunch of stuff # progress_bar.stop() That should work shouldn't it? Or do I need a separ

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 95, Issue 20

2011-03-18 Thread Dan Ross
Ok. I figured the CSV part out, but paths for saving in appscript are kicking my butt. If anyone has any suggestions I'd appreciate them. Thanks, Dan On Fri, 18 Mar 2011 12:00:02 +0100, pythonmac-sig-requ...@python.org wrote: Hi there- I have the following AppleScript: set theOutpu

[Pythonmac-SIG] Appscript and Excel save_as

2011-03-17 Thread Dan Ross
Hi there- I have the following AppleScript: set theOutputPath to (path to desktop folder as string) & "My Saved Workbook.csv" tell application "Microsoft Excel" tell active workbook save workbook as filename theOutputPath file format CSV file format end tell end tell This works fine. Whe

Re: [Pythonmac-SIG] py2app and Python 3.2

2011-03-16 Thread Dan Ross
On Wed, 16 Mar 2011 10:25:00 -0400, Ronald Oussoren wrote: On 16 Mar, 2011, at 10:15, Dan Ross wrote: Hey Ronald- Thanks for the response. I now get the following error: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.2/bin/py2applet&

Re: [Pythonmac-SIG] py2app and Python 3.2

2011-03-16 Thread Dan Ross
Got it. It's 'wb' to 'w' though right? On Wed, 16 Mar 2011 10:25:00 -0400, Ronald Oussoren wrote: On 16 Mar, 2011, at 10:15, Dan Ross wrote: Hey Ronald- Thanks for the response. I now get the following error: Traceback (most recent call last): File "/Libra

Re: [Pythonmac-SIG] py2app and Python 3.2

2011-03-16 Thread Dan Ross
lib/python3.2/site-packages/py2app-0.6-py3.2.egg/py2app/script_py2applet.py", line 163, in make_setup f.write(SETUP_TEMPLATE % tvars) TypeError: 'str' does not support the buffer interface Dan On Tue, 15 Mar 2011 09:10:14 -0400, Ronald Oussoren wrote: On 14 Mar, 2011, at 18:53, Da

[Pythonmac-SIG] py2app and Python 3.2

2011-03-14 Thread Dan Ross
Hi all- I have a very small and simple Tkinter/Python 3.2 app that I'm trying to bundle with py2app. After updating py2app and it's dependencies to "dev" versions I still get the following error: *** creating application bundle: gui *** Traceback (most recent call last): File "/Library/

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 93, Issue 5

2011-01-08 Thread Dan Ross
thon.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Pythonmac-SIG digest..." > Today's Topics: > > 1. Py2app/Python 3.1 error (Dan Ross) > 2. Re: Py2app/Python 3.1 error (Aahz) > > From: "Dan Ro

[Pythonmac-SIG] Py2app/Python 3.1 error

2011-01-07 Thread Dan Ross
Has anyone seen this before? Traceback (most recent call last): File "setup.py", line 18, in setup_requires=['py2app'], File "/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/core.py", line 110, in setup _setup_distribution = dist = klass(attrs) Fi

Re: [Pythonmac-SIG] If/else vs or

2010-10-29 Thread Dan Ross
Indeed. That's awfully nice and concise. On Fri, 29 Oct 2010 09:14:06 -0700, Christopher Barker wrote: > On 10/29/10 7:56 AM, Dan Ross wrote: > > I've been trying to use more list comprehensions recently. > > ahh -- then you want something like: > > In [15]

Re: [Pythonmac-SIG] If/else vs or

2010-10-29 Thread Dan Ross
reen','orange','blue','red','white'] [x for x in l if x in ['red','blue']] Henry On 2010-10-28, at 10:21 , Dan Ross wrote: I don't think this is Mac specific, but I wonder if someone could explain why these two groups

Re: [Pythonmac-SIG] If/else vs or

2010-10-28 Thread Dan Ross
Thank you for your help guys. Zach, I appreciate the explanation. That's what I was looking for. Dan Part 3 Description: boundary/apple-mail-7-733662729 ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pyt

[Pythonmac-SIG] If/else vs or

2010-10-28 Thread Dan Ross
I don't think this is Mac specific, but I wonder if someone could explain why these two groups of code behave differently: [code] colors = ['red', 'green', 'blue', 'orange', 'fuscia', 'black', 'white'] list_of_matches = [] for x in colors: if x == 'red' or 'green' or 'blue': list_of_matche

Re: [Pythonmac-SIG] Pygame and py2app 0.5.2

2010-10-12 Thread Dan Ross
the setup.py script that I've been using. Thanks Ronald. Dan On Tue, 12 Oct 2010 20:06:40 +0200, Ronald Oussoren wrote: On 5 Oct, 2010, at 3:49, Dan Ross wrote: Hi all- I'm getting the following error when trying to launch a bundled Pygame app: 10

[Pythonmac-SIG] Pygame and py2app 0.5.2

2010-10-04 Thread Dan Ross
Nevermind. It was ActiveState's Python and pygame not playing nicely.___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

[Pythonmac-SIG] Pygame and py2app 0.5.2

2010-10-04 Thread Dan Ross
Hi all- I'm getting the following error when trying to launch a bundled Pygame app: 10/4/10 8:43:42 PM [0x0-0x584584].org.pythonmac.unspecified.Cupcake[73356] ImportError: dlopen(/Users/danr/Projects/cupcake/dist/Cupcake.app/Contents/Resources/lib/python2.6/lib-dynload/pygame/base.so, 2): no

Re: [Pythonmac-SIG] [py2app] No module named os

2010-08-23 Thread Dan Ross
mports. Thanks for being willing to take a look! I think maybe I just needed a weekend of not thinking about it so I could come back to the problem fresh. :) -Chris On Mon, Aug 23, 2010 at 3:26 PM, Dan Ross wrote: Hmmm. I'm getting this when I try to run it from Terminal: dan-rosss

Re: [Pythonmac-SIG] [py2app] No module named os

2010-08-23 Thread Dan Ross
a look. -Chris On Sat, Aug 21, 2010 at 6:12 AM, Dan Ross <d...@rosspixelworks.com> wrote: Hey Chris- Is the source available anywhere? I've made a few

Re: [Pythonmac-SIG] [py2app] No module named os

2010-08-21 Thread Dan Ross
Hey Chris- Is the source available anywhere? I've made a few wx apps and that sounds familiar. Dan ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/

Re: [Pythonmac-SIG] Shell login for py2app bundle

2010-03-20 Thread Dan Ross
list at pythonmac-sig-ow...@python.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Pythonmac-SIG digest..." Today's Topics: 1. Shell login for py2app bundle (Dan Ross) 2. Re: Shell login for py2app bundle (Kevin Walzer)

[Pythonmac-SIG] Shell login for py2app bundle

2010-03-19 Thread Dan Ross
I'm trying to call Imagemagick's convert through a subprocess from within a bundled app. Console.app is telling me that it can't find it in /bin/sh which stands to reason. I can change the "convert" command to "/usr/local/bin/convert" in the app but then when convert calls Ghostscript (gs) it can

Re: [Pythonmac-SIG] Voice/Speech recognition

2010-03-08 Thread Dan Ross
I thought of this too but was kind of hoping for a pure Python option. PyObjC may be the only route I'm finding Thank you for the suggestion David. On Mon, March 8, 2010 2:48 pm, David Warde-Farley wrote: > > On 3-Mar-10, at 10:45 PM, Dan Ross wrote: > >> I'd like t

[Pythonmac-SIG] Voice/Speech recognition

2010-03-03 Thread Dan Ross
I'd like to make an app/game for my kids in which they would see a word, read it and the game would be able to recognize if they've read it correctly. Does anyone have any suggestions for speech/voice recognition? Thanks in advance. ___ Pythonmac-SIG m

Re: [Pythonmac-SIG] Fink vs MacPorts vs Framework

2009-06-30 Thread Dan Ross
That makes a great deal of sense. I tried to mess with pygame at one time, but as you stated, it was such a pain to build I gave up. Leonardo Santagada wrote: On Jun 30, 2009, at 12:11 PM, Dan Ross wrote: I'm not sure I understand what you mean. I can certainly add any packages I like

Re: [Pythonmac-SIG] Fink vs MacPorts vs Framework

2009-06-30 Thread Dan Ross
That's why I use MacPorts. > Is this right ? > > a > > 2009/6/30 Dan Ross : >> I currently use a Framework of 2.6.2 for my Python work but I always see >> a >> lot of posts about using Fink or MacPorts builds. >> >> Could anyone shed some light o

[Pythonmac-SIG] Fink vs MacPorts vs Framework

2009-06-30 Thread Dan Ross
I currently use a Framework of 2.6.2 for my Python work but I always see a lot of posts about using Fink or MacPorts builds. Could anyone shed some light on why they use these rather than a Framework? Advantages/disadvantages? Thanks, Dan ___ Pythonm

[Pythonmac-SIG] Unable to run python application (beegee beegee)

2009-04-15 Thread Dan Ross
Hi bee gee - You need to type "python first.py" into Terminal, not IDLE. Dan pythonmac-sig-requ...@python.org wrote: Send Pythonmac-SIG mailing list submissions to pythonmac-sig@python.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.python.org/mailman

[Pythonmac-SIG] Python SMB Error?

2009-01-14 Thread Dan Ross
Hi all - I get the following error when launching a wxPython app in TextMate... 2009-01-14 07:42:37.029 Python[26558:53ef] Error loading /System/Library/Filesystems/URLMount/smb.URLMounter/Contents/MacOS/smb:  dlopen(/System/Library/Filesystems/URLMount/smb.URLMounter/Contents/MacOS/smb, 262): S

Re: [Pythonmac-SIG] PyObjC Documentation

2008-11-14 Thread Dan Ross
n Wed, Nov 12, 2008 at 4:14 PM, Dan Ross wrote: I've seen the documentation at the official website and at the Apple Developer website. Is there somewhere that has more definitive documentation for PyObjC? Thanks, Dan ___ Pythonmac-SIG maill

Re: [Pythonmac-SIG] thanks for PyObjC!

2008-11-13 Thread Dan Ross
So is py2app the only recourse for making sure all dependencies are met?___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] PyObjC Documentation

2008-11-12 Thread Dan Ross
I've seen the documentation at the official website and at the Apple Developer website.Is there somewhere that has more definitive documentation for PyObjC?Thanks,Dan___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/

Re: [Pythonmac-SIG] Error compiling with py2app

2008-11-10 Thread Dan Ross -- Ross Photography
On Nov 10, 2008, at 4:25 PM, Christopher Barker wrote: Dan Ross wrote: Here's the error after providing the file. File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line 178, in load raise ValueError("Unknown load command: %d" % (cmd_load.cmd,)) ValueEr

Re: [Pythonmac-SIG] Error compiling with py2app

2008-11-10 Thread Dan Ross
Hi Cody- Thanks for the reply. I posted the wrong error. I figured out the missing file part. Here's the error after providing the file. Dan On Mon, 10 Nov 2008 15:56:09 -0600, "Cody Precord" wrote: Hello, On Mon, Nov 10, 2008 at 3:45 PM, Dan Ross wrote:

[Pythonmac-SIG] Error compiling with py2app

2008-11-10 Thread Dan Ross
Hi all- I'm having trouble with py2app all of a sudden. It stopped working with 2.5 so I installed 2.6 today, hoping that may work. I'm attaching the text from when the error begins. Any help would be appreciated. Thanks, Dan Traceback (most recent call last): File "/Library