<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY text=#3333ff bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=671581913-14112008>At the beginning of script2.py,
write:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=671581913-14112008>From script1 import <function1>, ...,
<functionX></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV class=Section1><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><FONT size=2>
<P>Sincerely,</P>
<P></FONT></SPAN><EM><B><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Geneviève</SPAN></B></EM><SPAN
style="COLOR: navy"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P></DIV>
<DIV> </DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De :</B>
tutor-bounces+gdi=teamlog.com@python.org
[mailto:tutor-bounces+gdi=teamlog.com@python.org] <B>De la part de</B> Robert
Berman<BR><B>Envoyé :</B> vendredi 14 novembre 2008
13:57<BR><B>À :</B> [tutor python]<BR><B>Objet :</B> [Tutor]
referencing external functions<BR></FONT><BR></DIV>
<DIV></DIV><FONT size=+1>I have a number of functions written in a python
script called script1.py. In another script, script2.py, I need to use a
number of the functions residing in script1.py. How do I make these functions
known to script2.py.<BR><BR>Thank
you,<BR><BR>Robert<BR></BLOCKQUOTE></FONT></BODY></HTML>