The built-in Scorpion Module provides many
functions for Scorpion users.
Example 1: Import Scorpion Module
def ExploreScorpionModule():
"""print all functions in builtin Scorpion Module"""
import Scorpion
print '*** Scorpion Module for %s ***'%GetStringValue('System.Version')
col=0
line=''
for d in dir(Scorpion):
line+='%-27s'%d
col+=1
if col==4:
print line
col=0
line=''
|