Re: [Tutor] Version of a .pyc file

2006-04-21 Thread Terry Carroll
On Fri, 21 Apr 2006, Don Taylor wrote: > That did it, and it was a .pyd file that was giving me problems, thanks > once again Terry. Great to hear! ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Version of a .pyc file

2006-04-21 Thread Don Taylor
Terry Carroll wrote: > I've had some pretty good luck using Process Explorer, freeware from That did it, and it was a .pyd file that was giving me problems, thanks once again Terry. Process Explorer is _very_ nice and will certainly stay on my machine. Don. _

Re: [Tutor] Version of a .pyc file

2006-04-20 Thread Don Taylor
Terry Carroll wrote: > On Wed, 19 Apr 2006, Don Taylor wrote: > > >>But my underlying problem still occurs: somewhere somebody is calling >>for the 2.3 version of the Python vm .dll and not finding it. This is >>happening under Pydev/Eclipse and my only recourse is to blow Eclipse >>away usin

Re: [Tutor] Version of a .pyc file

2006-04-20 Thread Don Taylor
Kent Johnson wrote: > Don Taylor wrote: > >>Finally, are there any other possible file extension types that I should >>be looking at? > > > .pyo is like a .pyc but compiled with optimizations on. > Hi Kent: No, I really meant a .pyd file which is Python's name for a .dll which conforms to th

Re: [Tutor] Version of a .pyc file

2006-04-20 Thread Terry Carroll
On Wed, 19 Apr 2006, Don Taylor wrote: > But my underlying problem still occurs: somewhere somebody is calling > for the 2.3 version of the Python vm .dll and not finding it. This is > happening under Pydev/Eclipse and my only recourse is to blow Eclipse > away using Task Manager. Don -- I've

Re: [Tutor] Version of a .pyc file

2006-04-19 Thread Kent Johnson
Don Taylor wrote: > Finally, are there any other possible file extension types that I should > be looking at? .pyo is like a .pyc but compiled with optimizations on. Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/

Re: [Tutor] Version of a .pyc file

2006-04-19 Thread Don Taylor
Terry Carroll wrote: >>How can I tell if a .pyc file was built with 2.3 or 2.4? > > > There's a "Magic Number" in the first 2 or 4 bytes, (depending on whether > you consider the \r\n part of the MN). > > f = open("pycfile.pyc", "rb") magictable = {'\x3b\xf2\r\n': "2.3", '\x6d\xf2\r\n

Re: [Tutor] Version of a .pyc file

2006-04-18 Thread Terry Carroll
On Tue, 18 Apr 2006, Don Taylor wrote: > How can I tell if a .pyc file was built with 2.3 or 2.4? There's a "Magic Number" in the first 2 or 4 bytes, (depending on whether you consider the \r\n part of the MN). >>> f = open("pycfile.pyc", "rb") >>> magictable = {'\x3b\xf2\r\n': "2.3", '\x6d\xf2