[Tutor] Setting path for module
karthik Guru
karthikg@aztec.soft.net
Sat, 1 Dec 2001 12:58:03 +0530
This is a multi-part message in MIME format.
------=_NextPart_000_0016_01C17A67.D00986F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
can be done in the code itself..
import sys
sys.path.append("c:\\python21\\ownmodule")
karthik.
-----Original Message-----
From: tutor-admin@python.org [mailto:tutor-admin@python.org]On Behalf Of
Mr. Abd Razak
Sent: Saturday, December 01, 2001 8:14 AM
To: tutor@python.org
Subject: [Tutor] Setting path for module
Hi to all,
I need some here, Until now i still don't know how to set path for my own
module.
I put my module in the c:\python21\ownmodule.
But every time i call the module i get the answer, python cannot locate
for the module.
I know i have to set the environmment, can anyone help me.
Thanks.
Razak.
------=_NextPart_000_0016_01C17A67.D00986F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D454292607-01122001><FONT face=3DArial color=3D#0000ff =
size=3D2>can be=20
done in the code itself..</FONT></SPAN></DIV>
<DIV><SPAN class=3D454292607-01122001><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN><SPAN class=3D454292607-01122001><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D454292607-01122001><FONT face=3DArial color=3D#0000ff =
size=3D2>import=20
sys</FONT></SPAN></DIV>
<DIV><SPAN class=3D454292607-01122001><FONT face=3DArial color=3D#0000ff =
size=3D2>sys.path.append("<FONT color=3D#000000=20
size=3D3>c:\\python21\\ownmodule")</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D454292607-01122001><FONT =
face=3DArial></FONT></SPAN> </DIV>
<DIV><SPAN class=3D454292607-01122001><FONT=20
face=3DArial>karthik.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> =
tutor-admin@python.org=20
[mailto:tutor-admin@python.org]<B>On Behalf Of </B>Mr. Abd=20
Razak<BR><B>Sent:</B> Saturday, December 01, 2001 8:14 =
AM<BR><B>To:</B>=20
tutor@python.org<BR><B>Subject:</B> [Tutor] Setting path for=20
module<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial>Hi to all,</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial>I need some here, Until now i still don't know =
how to=20
set path for my own module.</FONT></DIV>
<DIV><FONT face=3DArial>I put my module in the=20
c:\python21\ownmodule.</FONT></DIV>
<DIV><FONT face=3DArial>But every time i call the module i get the =
answer,=20
python cannot locate for the module.</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial>I know i have to set the environmment, can =
anyone help=20
me.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial>Thanks.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial>Razak.</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0016_01C17A67.D00986F0--