[py-dev] Problems with DOS files

Patrick K. O'Brien pobrien at eclypse.org
Fri Dec 3 15:37:22 CET 2004


> On Behalf Of Bob Ippolito
> 
> On Dec 2, 2004, at 9:34 PM, holger krekel wrote:
> 
> >>> Is *.py normally executable on windows after you installed Python?
> >>
> >> Yes.  Windows doesn't have an executable bit, any extension that is
> >> registered by an application as a document type is "executable".  If
> >> you type the name of a html file into the shell, it will probably open
> >> in Internet Explorer.
> >
> > Ok, let me refine the question: does a default python install register
> > this mapping and/or do developers usually have this mapping active?
> 
> That's what I meant by "Yes." :)

Well, unfortunately there are still some issues.  On Windows you map to some
default behavior, which may or may not be to execute the file.  On my
machine, for example, I've changed the default behavior to load the .py file
into Emacs.  So this solution wouldn't work for me.  :-(

Patrick K. O'Brien






More information about the Pytest-dev mailing list