how to edit .wsgi file extebtions with IDLE on windows

Chris Rebert clp2 at rebertia.com
Sat Aug 29 15:31:39 EDT 2009


On Sat, Aug 29, 2009 at 5:40 AM, gert<gert.cuykens at gmail.com> wrote:
> On Aug 29, 6:43 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
> wrote:
>> En Fri, 28 Aug 2009 15:31:31 -0300, gert <gert.cuyk... at gmail.com> escribió:
>>
>> > I can't figure out how to enable the .py shell and syntax highlighting
>> > for .wsgi file extensions using IDLE for windows ?
>>
>> That's a Windows question, not a Python one. You have to associate the
>> .wsgi extension with the Python.File file type (the one used for .py
>> files):
>>
>> D:\USERDATA\Gabriel>assoc .py
>> .py=Python.File
>>
>> D:\USERDATA\Gabriel>assoc .wsgi=Python.File
>> .wsgi=Python.File
>>
>
> Thanks that does make it open exactly like a .py file, expect that
> there is no syntax highlighting. Don't know if this is also a windows
> issue or a IDLE issue ?

That's an IDLE issue; it only highlights files with .py (and possibly
.pyw) extensions.

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list