Re: [Pythonmac-SIG] py2app : strange behavior maybe relative to encoding

2013-02-17 Thread Chris Rebert
On Feb 17, 2013 1:05 AM, "Pierre Ratinaud" wrote: > > Hi all, > I have create a .app with py2app for a wxpython application. The resulting app does not work as expected if I double click on it (it works but somewhere in the process, an encoding problem appear from another program called with os.po

Re: [Pythonmac-SIG] building python from source as 64-bit universal on g5 powermac with gcc-4.2

2012-11-02 Thread Chris Rebert
On Thu, Nov 1, 2012 at 11:53 PM, Christian Calderon wrote: > I have asked about this before, but back then I knew nothing about building > anything from source. This time I have a little more experience, so maybe I > can better describe what's going on? > If I run ./configure with no options, it c

Re: [Pythonmac-SIG] Some test code

2011-02-03 Thread Chris Rebert
> On 3 February 2011 07:48, Henning Hraban Ramm wrote: >> Am 2011-02-03 um 05:45 schrieb Chris Rebert: >> >>>> if (card == "Hearts" or card == "Diamonds"): >>>>    print "That card is Red" >>>> >>>> eli

Re: [Pythonmac-SIG] Some test code

2011-02-02 Thread Chris Rebert
On Wed, Feb 2, 2011 at 7:23 PM, John Parker wrote: > All, > > I have written this test code > > if (card == "Hearts" or card == "Diamonds"): >     print "That card is Red" > > elif (card == "Spades" or card == "Clubs"): >     print "That card is Black" Note that the parentheses are completely unn

Re: [Pythonmac-SIG] Newbie Python User Question About IDLE (File > New Window seems to disable IDLE)

2010-10-04 Thread Chris Rebert
On Mon, Oct 4, 2010 at 3:51 PM, Richard Fuhr wrote: > I am a new Python user and have started to explore a few of its basic > capabilities using IDLE > > I am running Mac OS X Snow Leopard ( version 10.6.4 ) > with Python Version 2.6.1 >    Tk Version 8.5 >     IDLE Version 2.6

Re: [Pythonmac-SIG] Trying to find a .def file

2010-05-15 Thread Chris Rebert
On Sat, May 15, 2010 at 7:12 PM, Monte Milanuk wrote: > Hello all, > > I'm trying to setup an extension to idle (vidle) and the instructions talk > about a file 'config-extensions.def'.  The author works primarily on a PC > and I'm obviously working on a Mac (Python 2.6.5, if it matters).  I've >

Re: [Pythonmac-SIG] Py2app Problem

2010-04-17 Thread Chris Rebert
On Sat, Apr 17, 2010 at 7:28 PM, Mike wrote: > Hi all, > > I'm having an issue with Py2app. I'm totally new to this, so if you could > help I'd greatly appreciate it. Below is some of the output I was getting, > and the traceback. I generated a setup.py using py2applet, and thne ran > python setu.

Re: [Pythonmac-SIG] Desktop shortcut for IDLE

2009-10-13 Thread Chris Rebert
On Wed, Oct 7, 2009 at 12:40 PM, Gregor Lingl wrote: > Hi, > > I'm relatively new to the Mac. > I have a Python 3.1.1. installation on my Macbook > and I'd like to have a shortcut on my desktop starting > IDLE with the -n switch, that is without subprocess > > Under Windows I'd rightclick on the d

Re: [Pythonmac-SIG] web services

2009-09-30 Thread Chris Rebert
On Wed, Sep 30, 2009 at 11:41 PM, sudhakar s wrote: > > HI, >    Can any one suggest me how to create a simple web service. >    Started working with webservices but fully confused with searches i made. > >    any one have simple web service script which is currently working? How is this relevant

Re: [Pythonmac-SIG] problems with executing python files

2009-08-20 Thread Chris Rebert
On Thu, Aug 20, 2009 at 1:15 AM, beegee beegee wrote: > b. I opened my terminal window, and typed python run.py -g > > i either got a syntax error or > file does not exist please help Please include the exact error message and shell session transcript. Cheers, Chris -- http://blog.rebertia.com _

Re: [Pythonmac-SIG] run python script on another computer's terminal (LAN)

2009-08-11 Thread Chris Rebert
On Tue, Aug 11, 2009 at 3:25 PM, pedro wrote: > > Hi, does anyone know how to send a command that is within a python > script to another computer's terminal. This is what it looks like in > Applescript. > > tell application "Terminal" of machine > "eppc://USERNAME:passw...@computer2.local" >      

Re: [Pythonmac-SIG] GASP on OSX 10.5.6

2009-06-29 Thread Chris Rebert
On Mon, Jun 29, 2009 at 3:59 PM, Daniel Sato wrote: > Hi, > > I am a complete python beginner.  I have been going through How to Think > Like A Computer Scientist 2nd edition online and have come across installing > GASP in chapter 4.  Unfortunately, I can't seem to find much documentation > on how

Re: [Pythonmac-SIG] Installing Pygame

2009-06-29 Thread Chris Rebert
On Sun, Jun 28, 2009 at 6:14 PM, wrote: > Hi, > I am using a Mac PPC with Tiger 10.4.11 and I recently downloaded and > installed Python 2.6.2. and I am having difficulties getting started. > I purchased "Python Programming, 2nd Ed. for the absolute beginner" by > Michael Dawson because he uses ga

Re: [Pythonmac-SIG] Cant open file

2009-06-20 Thread Chris Rebert
On Sat, Jun 20, 2009 at 10:39 AM, beegee beegee wrote: > Hello, > I am new to python, I have a mac os tiger 10.4.11 > I created a simple text file using textwrangler > and wrote the following code : > > print "Hello World" > > I saved this file on my desktop as first_print.py > I opened terminal >

Re: [Pythonmac-SIG] using the "PyUSB" module

2009-04-02 Thread Chris Rebert
On Thu, Apr 2, 2009 at 5:36 PM, Rekow Warren wrote: > I am a new MacPython (ver 2.6.1) user who has downloaded the "PyUSB" module, > but am unclear about how to make it available for use in a program. Included > among the downloaded files is 'setup.py' (and 'setup.pyc'). Running > 'setup.py' via I

Re: [Pythonmac-SIG] Python 3 Update?

2009-02-15 Thread Chris Rebert
On Sun, Feb 15, 2009 at 6:50 PM, Scott Clausen wrote: > Hello, > > I'm new to the list and was wondering if Mac's can upgrade to Python v3. http://python.org/ftp/python/3.0.1/python-3.0.1-macosx2009-02-14.dmg Dunno whether it's Universal. Cheers, Chris -- Follow the path of the Iguana... http

Re: [Pythonmac-SIG] XML Parsing

2009-02-06 Thread Chris Rebert
On Fri, Feb 6, 2009 at 8:00 PM, Bryan Smith wrote: > Hi everyone, > > I have another question I'm hoping someone would be kind enough to answer. I > am new to parsing XML (not to mention much of Python itself) and I am trying > to parse an XML file. The file I am trying to parse is this one: > htt

Re: [Pythonmac-SIG] string ids

2008-12-29 Thread Chris Rebert
On Mon, Dec 29, 2008 at 11:46 AM, Feat wrote: > At 11:30 -0500 29/12/08, David Hostetler wrote: >>The 'weird' results you were seeing when using 'is' were really just the >>python interpretor lifting up its skirts a bit and (inadvertantly perhaps) >>revealing when it had shared the memory storag

Re: [Pythonmac-SIG] python help() problems

2008-12-19 Thread Chris Rebert
On Fri, Dec 19, 2008 at 1:14 PM, George Wright wrote: > Gidday > I continue to have problems with python 2.5.1 and python2.4 on OSX 10.5.5 > I can't access help() > modules Here is the complete error report for 2.5 > > geomacbk:~ georgewr$ python > Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)

Re: [Pythonmac-SIG] Mac IDLE Fonts? (-or- I guess I need glasses.)

2008-11-26 Thread Chris Rebert
On Wed, Nov 26, 2008 at 12:44 PM, Jane Eisenstein <[EMAIL PROTECTED]> wrote: > I installed MacPython 2.5.2 after finding out MacPython 2.6 IDLE app doesn't > work. Then I installed TK 8.4.19 as suggested in this thread to get > Preferences to appear under the IDLE menu . > > However, I still can't

Re: [Pythonmac-SIG] Symlinks? Newbie / macpython alongside leopard python

2008-10-19 Thread Chris Rebert
On Sun, Oct 19, 2008 at 10:48 AM, Kevin Walzer <[EMAIL PROTECTED]> wrote: > Idan Gazit wrote: >> >> Hi Folks, >> >> Now that 2.6 is released, I wanted to install it on my local machine. What >> I'm having trouble wrapping my head around is how to make sure that >> macpython 2.6 doesn't break anythi

Re: [Pythonmac-SIG] Macpython installation

2008-10-16 Thread Chris Rebert
On Thu, Oct 16, 2008 at 9:11 AM, <[EMAIL PROTECTED]> wrote: > Dear sir, > I am using a Mac, > Processor- PowerPC G4, > Memory- 384MB SDRAM > Operating System- Mac OS X Version 10.3.9 > > I have installed MacPYthon , 2.3, 2.5 and lately 2.6. For all these > versions I could not access the IDLE IDE