[wingide-users] How to Insert a build number?

Wingware Support support at wingware.com
Fri May 7 13:01:39 MDT 2010

David Finlayson wrote:
> Is there an easy way to automatically insert a build number or date
> into a source file? I've used Ant or Make in the past for this but in
> Python of course, there is no compile step.

You would write a small script using Wing's extension API.  See 
insert_text() in scripts/editor_extensions.py in your Wing installation 
for an example that's close to what you want.  See 
http://wingware.com/doc/scripting for details on writing extension scripts.


Stephan Deibel
Wingware | Python IDE
Advancing Software Development


More information about the wingide-users mailing list