[Pythonmac-SIG] How-To type/creator and walking through direc tories?

Schollnick, Benjamin Benjamin.Schollnick@usa.xerox.com
Tue, 12 Mar 2002 10:56:51 -0500


I'm running Mac OS 9.21 on a QuickSliver macintosh....

Anyone know why I'd be getting IC errors?

icgluetest.py
	lici.ICFindConfigFile()
	AttributeError: ICFindConfigFile


test app.py
	File "...", line 210, in mapfile
	return self.ic.ICMapFilename (file)	
	icglue.error:	-666


	if os.path.isfile(name):
		for ext, cr, tp in list:
			if string.upper(name[-len(ext):]) == ext:
				fs = macfs.FSSpec(name)
				mapping = Internet_config.mapfile (name)
				print name, "\t...."

And, where is the Internet Config settings made?  I remember there being a
Internet Config control panel, but I don't see it on this machine....  (I
remember it being a 3rd party add-on?)

			- Benjamin

-----Original Message-----
From: Jack Jansen [mailto:Jack.Jansen@oratrix.com]
Sent: Tuesday, March 12, 2002 10:12 AM
To: Schollnick, Benjamin
Cc: 'macnerd@realmspace.com'; pythonmac-SIG@python.org
Subject: Re: [Pythonmac-SIG] How-To type/creator and walking through
direc tories?



On Tuesday, March 12, 2002, at 01:59 , Schollnick, Benjamin wrote:
> 2) It only contains creator, etc, information for python code....
> 	(I seem to remember that the original had a few additional entries,
> 	but I'm not motivated enough to verify this):

It should really use Internet Config to map extension to file 
creator/type.

Any takers?
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -