<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>                        BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}                        body{FONT-SIZE:12.1pt; COLOR:#001; FONT-FAMILY:宋体,serif;}                </STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19222"><BASE 
target=_blank></HEAD>
<BODY 
style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" 
marginheight="0" marginwidth="0"><STATIONERY>
<DIV><FONT color=#000000 size=3 face=宋体></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT color=#000000 size=3 face=宋体>
<DIV><FONT color=#000000 size=3 face=宋体>Hi Paiu:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>As your words, "exec_avp("/usr/local/sbin/my_script.py $si", 
"$avp(should_route)");<BR>In my_script.py I can print a str such as "the script 
is running!" , but I&nbsp;can not print the $si , I what to know how could 
I&nbsp;get the $si in my_script.py . I&nbsp;tried the sys.argv[1] , but I failed 
. And even the sys.argv[0] was can not be print . If I only run the my_script.py 
, I can get the sys.argv[0] and the sys.argv[1] be printed .</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Hoping for your help!</DIV>
<DIV>Thanks &amp; Regards!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Li Peng beijing China</DIV></FONT></DIV></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 
face=Verdana>2012-04-20</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR align=left SIZE=2>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN 
id=_FlashSignName>GTS2010</SPAN></FONT></DIV></STATIONERY></BODY></HTML>