<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE muclient>
<!-- Saved on Saturday, April 26th 2003 -->
<!-- MuClient version 3.40 -->

<!-- Plugin "Python_Version" generated by Plugin Wizard -->

<muclient>
<plugin
   name="Python_Version"
   author="Nick Gammon"
   id="994d41fff2555fc3f1dec92c"
   language="Python"
   purpose="Shows version of Python you are using"
   date_written="2003-04-26"
   requires="3.40"
   version="1.0"
   >
<description trim="y">
<![CDATA[
Shows which version of Python you have installed.

Usage
-----

scriptversion   <-- shows version number


Python_Version:help  <-- this help screen
]]>
</description>

</plugin>


<!--  Aliases  -->

<aliases>
  <alias
   script="OnShowVersion"
   match="scriptversion"
   enabled="y"
  >
  </alias>
</aliases>

<!--  Script  -->


<script>
<![CDATA[
import sys
def OnShowVersion (a, b, c):
  world.note ("Version = " + sys.version)
  world.note ("Modules = "+ str(sys.builtin_module_names))

def OnPluginInstall ():
  OnShowVersion (0, 0, 0)


]]>
</script>


<!--  Plugin help  -->

<aliases>
  <alias
   script="OnHelp"
   match="Python_Version:help"
   enabled="y"
  >
  </alias>
</aliases>

<script>
<![CDATA[
def OnHelp (sName, sLine, wildcards):
  world.Note (world.GetPluginInfo (world.GetPluginID, 3))

]]>
</script> 

</muclient>
