Re: Mac OS 9.2

2009-08-21 Thread Tommy Nordgren
3 and 2.3 that worked on MacOS 9 Maybe Google will help you locate a copy. -- What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren tommy.nordg...@comhem.se --

Re: I am trying to compile python 2.6.2 on my Mac

2009-07-28 Thread Tommy Nordgren
ody, the producer replies : "What parody?" Tommy Nordgren tommy.nordg...@comhem.se -- http://mail.python.org/mailman/listinfo/python-list

Re: [Mac] file copy

2009-06-24 Thread Tommy Nordgren
ubles. Diez -- the cp command copies INCLUDING resource forks, since tiger. -- "Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone" tommy.nordg...@comhem.se -- http:

Re: IDLE spinning beach ball on OS X 10.3.9 Panther

2009-01-04 Thread Tommy Nordgren
or crashed, but only that it does something time consuming on the main thread (the one that handles UI) -- "Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone&

Re: Get applications to open a given file (Mac and, or Windows)

2008-12-23 Thread Tommy Nordgren
://mail.python.org/mailman/listinfo/python-list On mac, there are the modules Carbon.Launch and Carbon.LaunchServices Maybe you'll find useful items in the PyObjC framework as well - This sig is dedicated to the advancement of Nuclear Power Tommy Nor

Re: how to convert ‘\xf0' to 0xf0 ?

2008-12-11 Thread Tommy Nordgren
"Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone" tommy.nordg...@comhem.se -- http://mail.python.org/mailman/listinfo/python-list

Re: Installing Python2.6 on Mac Os (Leopard)

2008-11-17 Thread Tommy Nordgren
" to your bash login file -- "Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone" [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Can Python fix vcard files?

2008-10-16 Thread Tommy Nordgren
tinfo/python-list -- Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants! Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Converting .doc to .txt in Linux

2008-09-04 Thread Tommy Nordgren
g/> A free office suite. ----- This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Decimals not equalling themselves (e.g. 0.2 = 0.2000000001)

2008-08-03 Thread Tommy Nordgren
notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. -- http://mail.python.org/mailman/listinfo/python-list -- What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --K

Re: like py2exe, but on a mac

2008-07-28 Thread Tommy Nordgren
On 28 jul 2008, at 20.22, William McBrine wrote: On Mon, 28 Jul 2008 19:51:26 +0200, Tommy Nordgren wrote: There is Platypus, a general open source program to wrap a script in an Macintosh (GUI) Application. Thanks. I tried Platypus, and it's close to what I want. But I still can'

Re: like py2exe, but on a mac

2008-07-28 Thread Tommy Nordgren
inary data -- Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants! Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: fromfile error on windows, not mac

2008-07-23 Thread Tommy Nordgren
n, that they are going to move to a country that don't accept immigrants! Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: like py2exe, but on a mac

2008-07-13 Thread Tommy Nordgren
-list Platypus can bundle any script into an .app bundle. --- See the amazing new SF reel: Invasion of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren [

Re: Python-3.0b1 build fails on Linux : _gestalt

2008-06-19 Thread Tommy Nordgren
ory from a machine with Darwin/Mac OS X --- See the amazing new SF reel: Invasion of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren [EMAIL PROTECTED] -- ht

Re: [SPAM] ¡¶python in a nutshell¡·and¡ ¶programming python¡·

2008-06-19 Thread Tommy Nordgren
on of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Books for programmers

2008-06-04 Thread Tommy Nordgren
thon-list -- Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants! Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Getting up and running with Python on a Mac

2008-06-01 Thread Tommy Nordgren
e Thomas Philips -- http://mail.python.org/mailman/listinfo/python-list -- What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Get all the instances of one class

2008-05-18 Thread Tommy Nordgren
memberlist when created; # note: objects won't be garbage collected until removed from memberlist. - This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: text adventure game problem

2008-04-10 Thread Tommy Nordgren
zing new SF reel: Invasion of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Book Recomendations

2008-03-02 Thread Tommy Nordgren
l. > > Thanks > > Ira > -- > http://mail.python.org/mailman/listinfo/python-list I would recommend "Programming Python", by Mark Lutz, from O'Reillys ------ "Home is not where you are born, but where yo

Re: Downlod from FTP, pickle

2008-01-17 Thread Tommy Nordgren
ter space. On congratulations for a fantastic parody, the producer replies : "What parody?" Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: IDLE won't start in Python 2.5 for Windows

2008-01-11 Thread Tommy Nordgren
try 2) Searching for IDLE preference files and delete them. Corrupt preference settings are a common cause for application misfunction on all Operating Systems. -- "Home is not where you are born, but where your heart finds peace" - Tommy

Re: Default location of python on OS X

2008-01-08 Thread Tommy Nordgren
2.5, there is no need to install it. - This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: how to convert 3 byte to float

2007-12-08 Thread Tommy Nordgren
Do you know the relative accurazy of the digitizer? - This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: how to convert 3 byte to float

2007-12-08 Thread Tommy Nordgren
lsewith modulation with a low pass filter. ----- This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: (MAC) CoreGraphics module???

2007-11-02 Thread Tommy Nordgren
y to build it yourself, which I've found out requires modifying setup.py. (The problem is that setup.py tries to use two modules that's not installed by default on Tiger) -- What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: XML DOM, but in chunks

2007-10-31 Thread Tommy Nordgren
On 31 okt 2007, at 22.36, Tommy Nordgren wrote: > > On 31 okt 2007, at 21.24, Sean Davis wrote: > >> I have some very large XML files that are basically recordsets. I >> would like to access each record, one-at-a-time, and I particularly >> like the ElementTree lib

Re: XML DOM, but in chunks

2007-10-31 Thread Tommy Nordgren
o/python-list You need a Python (or other language) implementation of the SAX API -- Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants! Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: setting variables in outer functions

2007-10-29 Thread Tommy Nordgren
On 29 okt 2007, at 21.59, brad wrote: > Tommy Nordgren wrote: >> Given the following: >> def outer(arg) >> avar = '' >> def inner1(arg2) >> # How can I set 'avar' here ? > > Try this... works for me... maybe not for

setting variables in outer functions

2007-10-29 Thread Tommy Nordgren
Given the following: def outer(arg) avar = '' def inner1(arg2) # How can I set 'avar' here ? - This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.

Re: Check File Change Every 10 Seconds

2007-10-22 Thread Tommy Nordgren
ortable, and poll too often, your hard drive will never go to sleep when idle. fstat works on the cached, in memory, directory info of the file. When it's changed, rewind the file and reparse. > -- What is a woman that you forsake her, and the hearth fire and the home acre, to go

Re: Python on imac

2007-10-14 Thread Tommy Nordgren
e available at www.python.org No need to use package managers -- Skinheads are so tired of immigration, that they are going to move to a country that don't accept immigrants! Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: os.popen and lengthy operations

2007-09-23 Thread Tommy Nordgren
en it's output buffers are full. Pipes is limited by small buffers (for examples 512 bytes on Mac OS X) - This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Writing to multiple excel worksheets

2007-09-18 Thread Tommy Nordgren
ten in the corresponding sheets. > > What is the best way to achieve this? > I couldn't find much help on the internet nor in the earlier > threads. Please help. > > Thanks, > SPJ Excel files are in a binary and proprietary format. You can however generate

Any python Module for generating DocBook?

2007-08-25 Thread Tommy Nordgren
Do anyone on this list know of a Python module for generating DocBook programlisting elements for programming language source code merked with special comments. I want to write a programming book, and want to mark significant lines in the source code for reference. My DocBook processing software

Re: Dispatching default application for file, cross platform.

2007-08-22 Thread Tommy Nordgren
o/python-list On Mac OS X, invoke the command /usr/bin/open -a file , or /usr/bin/open file -- What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: C# and Python

2007-08-21 Thread Tommy Nordgren
it must cost a lot of money too. -Thats no problem. I've got a big government grant for the study of black holes. Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Sorting a list of Unicode strings?

2007-08-20 Thread Tommy Nordgren
An astronomer to a colleague: -I can't understsnad how you can go to the brothel as often as you do. Not only is it a filthy habit, but it must cost a lot of money too. -Thats no problem. I've got a big government grant for the study of black holes. Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Parser Generator?

2007-08-18 Thread Tommy Nordgren
ost a lot of money too. -Thats no problem. I've got a big government grant for the study of black holes. Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Adventure-Engines in Python

2007-08-13 Thread Tommy Nordgren
man/listinfo/python-list I don't know of any adventure engines in Python, bet there is an open-source language and class library for text adventures called TADS (www.tads.org) The syntax is similar to C++ and Java. Tads have been ported to ALL major platforms -----

Re: Expandable 2D Dictionaries?

2007-07-06 Thread Tommy Nordgren
n will dynamically add that key/value pair? > > Thanks. > The best way to do this, is probably to implement your own class. As far as I know, Python supports operator overloads, although the syntax is different than C++. -- What is a woman that you forsake her, and t

Re: In C extension .pyd, sizeof INT64 = 4?

2007-06-13 Thread Tommy Nordgren
--- This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Determinant of Large Matrix

2007-06-06 Thread Tommy Nordgren
t; http://mail.python.org/mailman/listinfo/python-list Are you sure NumPy return float results. As far as I know, it returns doubles (about 16 digits) -- "Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone" [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Unicode to HTML entities

2007-05-30 Thread Tommy Nordgren
do Pinto Neto > In many cases, the need to use html/xhtml entities can be avoided by generating utf8- coded pages. ------ "Home is not where you are born, but where your heart finds peace" - Tommy Nordgren, "The dying old crone" [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: No Python for Blackberry?

2007-05-19 Thread Tommy Nordgren
(in the directory 'build' of the previous step) then give the commands: make make check sudo make install [whereupon the systom will ask for your administrator password] - This sig is dedicated to the advancement of Nucle

Re: editing scripts on a mac

2007-04-27 Thread Tommy Nordgren
that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Dane women Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: parsing combination strings

2007-03-21 Thread Tommy Nordgren
and stop once its not a digit, but > appreciate any eligent way. You need to look up regular expressions in the Documentation. A regular expression that matches only at the start of the string is appropriate for this problem. ------ &

Re: Passing a FILE* from Python into a MinGW/SWIG module

2007-03-15 Thread Tommy Nordgren
he dreaded MSVS to compile my > SWIG module? > > Cheers > JP Can you get the file descriptor from the FILE *, and use that? - This sig is dedicated to the advancement of Nuclear Power Tommy Nordgren [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: programmatically manipulation environment variables of the calling shell

2007-03-12 Thread Tommy Nordgren
the calling shell do myshellvars=`your_python_script`; 4. Now the calling shell can parse the variable myshellvars to set up the environment. -- What is a woman that you forsake her, and the hearth fire and the home acre, to go with the old grey Widow Maker. --Kipling, harp song of the Da

Re: Python books?

2007-03-11 Thread Tommy Nordgren
On 9 mar 2007, at 04.06, Tommy Nordgren wrote: > Could some kind soul please recommend a few text books on Python 2.5 > and it's class library? > I've found one interesting text book on Python: Mark Lutz - Programming Python, 3rd Edition. How do you rate it? O

Python books?

2007-03-08 Thread Tommy Nordgren
Could some kind soul please recommend a few text books on Python 2.5 and it's class library? Kine dies, Kinfolk dies, and thus at last yourself This I know that never dies, how a dead mans deeds are deemed. -- Elder edda Tommy Nordgren [EMAIL PROTECTED] -- http://mail.pytho

Extending and embedding Python

2005-07-11 Thread Tommy Nordgren
options for embedding Python. Stockholm July 11, 2005 Tommy Nordgren -- http://mail.python.org/mailman/listinfo/python-list

Embedding & Extending Python &other scripting languages

2005-04-20 Thread Tommy Nordgren
guage support for at least java and c++ initially. I probably want to support codegenerators written in ruby and tcl as well. Any help would be appreciated. I prefer email replies to <[EMAIL PROTECTED]> Stockholm, April 21, 2005 Tommy Nordgren -- http://mail.python.org/mailman/listinfo/python-list