Ronald Oussoren wrote: > > MacOS.SetCreatorAndType(filename, creator, type) works both in 32-bit and 64-bit versions of python (I've tested this with 2.7). Thanks! Indeed this works, and does exactly what I wanted -- real fast. Thanks also to Karsten for your solution, which is already much faster than mine. Francois Z.