Some of the information here may be outdated, please check the book instead
[edit]
def showver():
  #
  #  How to display the web2py version
  #
  #  The web2py version number is automatically shown when 
  #  web2py starts, but you can also display it from within 
  #  a web2py program.
  #
  #  Note: Other related variables are ProgramAuthor and ProgramName
  #  
  #
  #  By Sterling Hankins  05/24/2008
  #  
  import gluon.widget
  #
  return gluon.widget.ProgramVersion
© 2008-2010 by Massimo Di Pierro - All rights reserved - Powered by web2py - design derived from a theme by the earlybird
The content of this book is released under the Artistic License 2.0 - Modified content cannot be reproduced.