On Mar 6, 4:02 pm, Chris Rebert <c...@rebertia.com> wrote: > On Sat, Mar 6, 2010 at 3:53 PM, Isaac Gouy <igo...@yahoo.com> wrote: > > At the command prompt: > > > python b.py 8 > > works fine on both XP and Vista > > > python b.python 8 > > works on XP (and Linux) > > > but on Vista > > > python b.python 8 > > > ImportError: No module named b > > > ? > > Code please.
It's the same code in both cases, I simply renamed "b.python" as "b.py" as a test. > Also, .python is not a standard extension for Python > files, so why are you using it anyway? Because it's useful for what I'm doing. Given python 2.6.4 has no problem with a non-standard extension on MS XP and Linux - why does python 2.6.4 have this problem with a non- standard extension on MS Vista? -- http://mail.python.org/mailman/listinfo/python-list