Re: Matplotlib on Leopard Mac OS

2008-11-27 Thread martin . laloux
You must install numpy or scipy before installing matplotlib. If you do not want to do it yourself you cand download Scipy superpack "This shell script will install recent SVN builds of Numpy (1.3) and Scipy (0.7), as well as Matplotlib (0.98), iPython (0.8.3) and PyMC (2.0 beta) for OS X 10.5 (Le

Re: Matplotlib on Leopard Mac OS

2008-11-27 Thread martin . laloux
You must install numpy or scipy before installing matplotlib. If you do not want to do it yourself you cand download Scipy superpack "This shell script will install recent SVN builds of Numpy (1.3) and Scipy (0.7), as well as Matplotlib (0.98), iPython (0.8.3) and PyMC (2.0 beta) for OS X 10.5 (Le

Re: os.startfile() on a mac

2008-06-14 Thread martin . laloux
search, search for example http://groups.google.be/group/comp.lang.python/browse_thread/thread/bddbb6861bf5b084/af7070e5b3971d53?hl=fr&lnk=gst&q=os.startfile+unix#af7070e5b3971d53 -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie Question: How to use a .pth file on a Macintosh

2008-05-25 Thread martin . laloux
you put your pth file in (same configuration: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- packages/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Install Python MySQL db module?

2008-05-15 Thread martin . laloux
search, search, it is a recurrent question for example http://groups.google.be/group/comp.lang.python/browse_thread/thread/7bef767753fe40f1/a3fd7c2dd7a50bef?hl=fr&lnk=gst&q=mysqldb+mac#a3fd7c2dd7a50bef -- http://mail.python.org/mailman/listinfo/python-list

Re: installing MySQLdb module

2008-04-20 Thread martin . laloux
search, search, search http://groups.google.be/group/comp.lang.python/browse_thread/thread/d75a491b8dbc3880/7d4f8eea29e23992?hl=fr&lnk=gst&q=MySQLdb+mac#7d4f8eea29e23992 -- http://mail.python.org/mailman/listinfo/python-list

Re: Python crashes consistently

2008-04-16 Thread martin . laloux
I agree, use the official python http://www.python.org/ftp/python/2.5.2/python-2.5.2-macosx.dmg I'm also using OS X 10.4.11 and I have no problem for installing numpy http://www.scipy.org/Installing_SciPy/Mac_OS_X or you can download Pre-built binaries from http://pythonmac.org/packages/py25-fat/

Re: Python crashes consistently

2008-04-16 Thread martin . laloux
which python ? from macports or macpython ? -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get the version of a file

2008-04-14 Thread martin . laloux
you need appscript "that allows you to control scriptable Mac OS X applications from Python" http://pypi.python.org/pypi/appscript/0.18.1 -- http://mail.python.org/mailman/listinfo/python-list

Re: chronic error with python on mac os/x 10.5

2008-03-28 Thread martin . laloux
I don't known pjsip but this problem generally occurs when the library (dylib) on which the file (.so) depends is not the good one > Googling this issue show that it is happening to many > libraries in python on mac. ?? I am working in python on mac since a lot of time I seldom have such prob

Re: Getting started with OS X Leopard

2008-03-15 Thread martin . laloux
if you are not satisfied with the native version, why not install the official version directly from python site http://www.python.org/download/ (macpython) instead of using that of macports. It moreover is provided with many utilities There is a macpython list that you can consult at http://www.

Re: Huge problem gettng MySQLdb to work on my mac mini running Macosx 10.5 Leopard

2008-03-14 Thread martin . laloux
look at http://groups.google.be/group/comp.lang.python/browse_thread/thread/d75a491b8dbc3880/0ca1fb7f7deca194?hl=fr&lnk=gst&q=laloux#0ca1fb7f7deca194 There is a macpython list that you can consult at http://www.nabble.com/Python---pythonmac-sig-f2970.html -- http://mail.python.org/mailman/listinf

Re: Need Script For read multiple files(.txt) from a folder

2008-03-14 Thread martin . laloux
use the glob module import os, glob dor = the path you want for dir, subdir, files in os.walk(dor): for file in files: if glob.fnmatch.fnmatch(file,"*.txt"): do what you want -- http://mail.python.org/mailman/listinfo/python-list

Re: Leopard and MySQL

2008-03-05 Thread martin . laloux
There is a macpython list that you can consult at http://www.nabble.com/Python---pythonmac-sig-f2970.html. When you search for your problem http://www.nabble.com/forum/Search.jtp?forum=2970&local=y&query=mysqldb you have the solution http://www.nickshanny.com/2007/10/os-x-105-python-and-mysqldb.ht

Re: Choosing Tkinter over wxPython...

2007-07-10 Thread martin . laloux
me to because of the problem of the new versions of wxpython not compatible with the old ones (try to run a script done with wxpython 3, 4, 5 even 6 with wxpython 2.8.x). Each time, I must re-examine all my old scripts. Tkinter, although less beautiful, is more stable -- http://mail.python.org/ma

Re: tkFileDialog.askopenfilename()

2007-05-16 Thread martin . laloux
look at "Basic Tkinter dialogs" from python cookbook at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/438123 -- http://mail.python.org/mailman/listinfo/python-list

Re: Python + ogr module?

2007-04-17 Thread martin . laloux
You must seek for python and Open Source GIS or mapserver and you find: http://mapserver.gis.umn.edu/community/conferences/MUM3/workshop/python http://www.archaeoworld.com/classes/osgit/lectures/ with http://www.archaeoworld.com/classes/osgit/lectures/osgit_02_libraries.pdf and you have some exa

Re: SQLite problems

2007-04-12 Thread martin . laloux
> I run Python 2.5 on a Mac OS X system with SQLite 3.2.8 installed via > fink. Why fink ?, it is very easy to make sqlite. download the source, configure, make and install from terminal -- http://mail.python.org/mailman/listinfo/python-list

Re: python on mac os 10.4.x

2007-04-03 Thread martin . laloux
Go to http://wiki.python.org/moin/MacPython and http://pythonmac.org/packages/ if you want to download macpython 2.5 or macpython 2.4.4 ("framework" builds). Installation is very easy (package) and you have all you want without problem with the 2.3.5 version wich remains installed and functional

Re: plot dendrogram with python

2007-03-27 Thread martin . laloux
I use pycluster http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/software.htm#pycluster -- http://mail.python.org/mailman/listinfo/python-list

Re: Python shell on mac os x

2007-03-16 Thread martin . laloux
or go to http://pythonmac.org/packages/ and you have python 2.5 or python 2.4.4 with readline support -- http://mail.python.org/mailman/listinfo/python-list

Re: ArcGIS and Python

2007-02-27 Thread martin . laloux
Try Esri http://support.esri.com/index.cfm?fa=forums.gateway or http://geography.sdsu.edu/People/Pages/jankowski/public_html/web683/lectures683.htm -- http://mail.python.org/mailman/listinfo/python-list

Re: how to unistall a Python package?

2007-01-25 Thread martin . laloux
you delete it from lib -- http://mail.python.org/mailman/listinfo/python-list

Re: Good script editor for Python on Mac OS 10.3

2006-11-30 Thread martin . laloux
I work with Python on mac os 10.3.9 First of all : Install a newer version of python for mac, from http://pythonmac.org/packages/ (python 2.4.4 -> http://pythonmac.org/packages/py24-fat/index.html) (python 2.5 -> http://pythonmac.org/packages/py25-fat/index.html) you have a more "standard" pyt

Re: Tkinter & Python 2.5 Problems on MAC OS 10.3.9

2006-11-16 Thread martin . laloux
which distribution of python you use ? I use the one of http://pythonmac.org/packages/py25-fat/index.html withoutproblem -- http://mail.python.org/mailman/listinfo/python-list