[Tutor] Opening .py files in firefox

Andre Roberge andre.roberge at gmail.com
Tue Mar 21 11:59:43 CET 2006


** Copy of a reply sent only to Alan Gauld by mistake.

On 3/20/06, Alan Gauld <alan.gauld at freenet.co.uk> wrote:
> > If the browser tries to execute the script you will need to go to
> > the file types setting in the browser and set .py to plain-text.
> >
> > This is what I need to do ... but, after looking at all the options
> > (within tools->Options), I still can not find a way to do this;
>
> Neither can I! How odd.
>
> > firefox-snafu: when I try to open a file in "my document", firefox
> > splits up the path, interprets the request as a series of files to
> > open, and start to open a number of totally unrelated webpages.
>
> You probably need to mess around with quotes.
>
> Something like "%1" after the exectuable name might do it
> %1 is DOS shorthand for the name of the file... Putting it in
> quotes should stop Firefox splitting the path.
>


Thanks, that solved both problems!  I can now either right-click on a
Python file (icon) and chose to display it in the browser, or open the
file within Firefox (ctrl-o) itself.

Thank you!! :-)

André


More information about the Tutor mailing list