Re: [Pythonmac-SIG] Testers needed again: Fix installer 1.2

2004-12-31 Thread Piet van Oostrum
>>>>> Jack Jansen <[EMAIL PROTECTED]> (JJ) wrote: JJ> There's yet another new version of the Python 2.3 fix installer available: JJ> <http://www.cwi.nl/~jack/macpython/JaguarPythonFix.dmg>. Apparently now (correctly) named PantherPythonFix.dmg -- Piet van

Re: [Pythonmac-SIG] Testers needed again: Fix installer 1.2

2004-12-31 Thread Piet van Oostrum
>>>>> Jack Jansen <[EMAIL PROTECTED]> (JJ) wrote: JJ> There's yet another new version of the Python 2.3 fix installer available: JJ> <http://www.cwi.nl/~jack/macpython/JaguarPythonFix.dmg>. Apparently now (correctly) named PantherPythonFix.dmg -- Piet van

Re: [Pythonmac-SIG] self-instantiating instances in pyhton

2005-01-13 Thread Piet van Oostrum
; that instantiates objects that can instantiate fresh new objects RJ> of that same class... without external controller code. Every instance of a class can instantiate new objects of that class. I don't know a programming language where that is not possible. But what do you mean with external co

Re: [Pythonmac-SIG] fink vs DarwinPorts?

2005-02-05 Thread Piet van Oostrum
install darwinports in /usr/local because I don't want yet another directory tree. There are still traces of /sw/lib in my installed software but once these are used they fail. I am working on finding all traces and removing them. -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http:/

Re: [Pythonmac-SIG] pygtk

2005-03-07 Thread Piet van Oostrum
pygtk works only with X11, it won't give you a native Aqua interface. This is because GTK is not native on MacOSX. And yes, it can be compiled (I did it myself). -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://www.cs.uu.nl/~piet [PGP] Private email: [EMAIL PROTECTED] ___

Re: [Pythonmac-SIG] Where to go for wxPython help & tutorials?

2005-06-17 Thread Piet van Oostrum
;\\'+self.filename,'r') which is pathetic (the \\). It should use os.path.join instead. -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://www.cs.uu.nl/~piet [PGP] Private email: [EMAIL PROTECTED] ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] building rpy

2005-07-10 Thread Piet van Oostrum
o build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/R_eval.o build/temp.darwin-7.9.0-Power_Macintosh-2.3/src/io.o -L/Library/Frameworks/R.framework/Resources/lib -lR -o build/lib.darwin-7.9.0-Power_Macintosh-2.3/_rpy.so and redo the python setup.py install afterw

Re: [Pythonmac-SIG] Unicode Filenames on the Mac

2005-07-15 Thread Piet van Oostrum
e() We now have a file with name 'รก' >>> import os >>> os.listdir (u'.') [u'a\u0301'] The accent follows the 'a'. -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4] Private email: [EMAIL PROTECTED] ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Connecting to Windows shares

2005-09-22 Thread Piet van Oostrum
0.4.2, if it matters. Issue a mount or, more specifically, a mount_smbfs command through os.system or the subprocess module or some such. -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4] Private email: [EMAIL PROTECTED] _

Re: [Pythonmac-SIG] python2.4 crashes (bus error)

2005-10-25 Thread Piet van Oostrum
ur crash, but I saw something strange in your code: model is an element of models, not an index. So unless you have something special, that code might not be what is intended. If it goes through a Fortran thing it may cause an out of bounds error. -- Piet van Oostrum <[EMAIL PROTECTED]> U

Re: [Pythonmac-SIG] Database (SQL prefered) access on MacPython

2005-12-03 Thread Piet van Oostrum
e used both PostgreSQL and MySQL from Python on Mac OSX with no >SM> problems. Another guy here at work has used Sybase on his Mac (built >SM> the Object Craft module against the FreeTDS stuff). Pick your poison. Firebird also works with Python. -- Piet van Oostrum <[EMAIL PROTE

Re: [Pythonmac-SIG] Converting to AppleEvents

2005-12-08 Thread Piet van Oostrum
lly finished. os.system does wait. -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4] Private email: [EMAIL PROTECTED] ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Mac Intel Python status?

2006-01-26 Thread Piet van Oostrum
of readline. I suggest >s> you just comment out the readline checks in setup.py. libedit (editline) is a different library with a similar function as readline, but not compatible with it. It has a BSD license. It is often used instead of readline for non-GPL software. -- Piet van Oost

Re: [Pythonmac-SIG] 2.3 vs 2.4

2006-04-17 Thread Piet van Oostrum
But your error message was about a missing /System/Library/Frameworks/Python.framework/Versions/2.3/Python, i.e. not /Library/Frameworks/Python.framework, so it seems you removed /Systems/Library/Frameworks/Python.framework instead, contrary to the instruction. You will have to reinstall it, otherwise som

Re: [Pythonmac-SIG] read content from latin-1 file, write it to ut8 file

2006-04-18 Thread Piet van Oostrum
, >FH> Textwrangler recognizes the file as "MacRoman" encoded and the content is >FH> garbled. Then that is Textwrangler's fault. Interpreting a utf-8 file as MacRoman will indeed give garbage. Maybe you can configure Te

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-17 Thread Piet van Oostrum
to the environment variables, no matter how they are accomplished. So to set the environment for the Finder can only be done before (or while) launching the Finder. -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4] Private email: [EMAIL PROTECTED

Re: [Pythonmac-SIG] Building python 2.4.3 on OSX 10.3.9

2006-07-08 Thread Piet van Oostrum
ind installers for any earlier versions of XCode. When you haven't XCode installed, how come you have gcc? -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4] Private email: [EMAIL PROTECTED] ___ Pyth

Re: [Pythonmac-SIG] Building python 2.4.3 on OSX 10.3.9

2006-07-08 Thread Piet van Oostrum
>>>>> Ronald Oussoren <[EMAIL PROTECTED]> (RO) wrote: >RO> Michael, do you have a /Developer folder on your system? If you do >RO> you have some edition of the developer tools installed. IIRC, the developer tools had a different name than XCode in older v

Re: [Pythonmac-SIG] Building python 2.4.3 on OSX 10.3.9

2006-07-11 Thread Piet van Oostrum
version of QuickTime if I knew how (I'm >MG> not using QuickTime), but haven't discovered any way to do it. Did you (re)install the QuickTime SDK *after* installing QuickTime 7? That might help. -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://ww

Re: [Pythonmac-SIG] Lost among multiple Python version on my mac

2006-11-19 Thread Piet van Oostrum
ns I build from source go into /usr/local/. /Library/Frameworks is the way to go, and you can make symlinks from /usr/local/bin. To make from source: MACOSX_DEPLOYMENT_TARGET=10.4 ./configure --enable-framework make sudo make frameworkinstall -- Piet van Oostrum <[EMAIL PROTECTE

Re: [Pythonmac-SIG] importing namespaces/modules

2007-01-19 Thread Piet van Oostrum
x, and vice versa. This can lead to unexpected behaviour. If, however, you say 'import module' and then use module.x, then it is the same variable, and changes in the imported module's x will be visible in the importing module's module.x and vice versa. -- Piet van Oostrum

Re: [Pythonmac-SIG] importing namespaces/modules

2007-01-19 Thread Piet van Oostrum
asses, functions, etc). But then you can have the same interaction between the different modules. from graphics import * from statistics import * Now statistics can `shadow' a variable from graphics, for example if the both have a function 'draw'. Of course the same could happen

Re: [Pythonmac-SIG] Help with path settings

2008-01-29 Thread Piet van Oostrum
/.profile ~/.bashrc ~/.login ~/.bash_profile, ~/.bash_login, ~/.cshrc ~/.tcshrc /etc/csh.cshrc /etc/csh.login /etc/profile /etc/bashrc ~/.MacOSX/environment.plist Apparently Zope has added something. Systems like these tend to insert stuff in the /etc files because these are system-wide. -- Piet van Oo

Re: [Pythonmac-SIG] Help with path settings

2008-02-02 Thread Piet van Oostrum
l list. First time I've seen them all at once. >GW> Are there any more? The /etc/rc* files are executed at boot time under certain circumstances, but I am not sure if the environment variables they set will reach the shell or the desktop environment. -- Piet v

Re: [Pythonmac-SIG] where do I store my Python programs

2009-05-31 Thread Piet van Oostrum
on->Execute Buffer. For small snippets of code this may be easier, but for complete programs the shell method may be better. A shell can also be run outside of Aquamacs with the Terminal application. -- Piet van Oostrum URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: p...@vanoostrum.org ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] where do I store my Python programs

2009-06-01 Thread Piet van Oostrum
>>>>> Christopher Barker (CB) wrote: >CB> Piet van Oostrum wrote: >>> Another possibility, after Python-> start interpreter, is Python->Execute >>> Buffer. For small snippets of code this may be easier, >>> but for complete programs the

Re: [Pythonmac-SIG] Uninstalling

2017-07-20 Thread Piet van Oostrum
er hand, I find it very useful to have a Python from python.org installed as they are usually more up to date than the Apple supplied one. If you tell the installer to install the links in /usr/local, and put /usr/local/bin in your PATH before /usr/bin, you will use these, and Apple will still