Archaeopteryx Software, Inc.
Take Flight!Search

Home
Wing IDE
News
Support
About Us
Python
Open Source
Store

 Search:
 
 Advanced Search




[wingide-users] Recognizing python script with no file extension

Wing IDE Support support at wingide.com
Tue, 1 Apr 2003 11:24:53 -0500 (EST)


Hi,

You can put the following on the first line of the files:

#!python

(or any other comment that starts with #! and contains the word "python")

If this for some reason conflicts with scons, please let us know.

Thanks,

- Stephan

On Tue, 1 Apr 2003, Allen Bierbaum wrote:

> I am using a build tool (scons: see scons.org) that uses python.  I can 
> use wing to edit the script files, but they do not have a .py extension. 
>   In fact, the scripts don't have any file extension.  They are named 
> things like: SConstruct and SConscript
> 
> Is there anyway to configure wing ide so it will recognize files of 
> these names as python code for syntax highlighting and the like?  Is 
> there any comment that can be placed at the top of the file so wing 
> recognized the file as python code?
> 
> Thanks,
> Allen
> 
> 
> _________________________________________________
> Wing IDE discussion list
> http://wingide.com/support/forum
> 





Run by Mailman v 2.0.8


Copyright (c) 2000-2002, Archaeopteryx Software, Inc.
Legal Statements