[Tutor] [Q] Python and path?
Young-Jin Lee
ylee12@uiuc.edu
Sat, 18 Aug 2001 17:35:03 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_003E_01C1280C.1D33D7E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi, I have a question on Python and path.
How can I tell Python to search a python source file in a specify =
directory?
I created a python test code in my working directory and I lauchched the
Python interpreter from the desktop shortcut. I need to be able to =
specify
the path (similar to Java's classpath), but I don't know how.
Thanks in advance.
YL
------=_NextPart_000_003E_01C1280C.1D33D7E0
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 content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi, I have a question on Python and =
path.<BR>How=20
can I tell Python to search a python source file in a specify =
directory?<BR>I=20
created a python test code in my working directory and I lauchched =
the<BR>Python=20
interpreter from the desktop shortcut. I need to be able to =
specify<BR>the path=20
(similar to Java's classpath), but I don't know how.<BR>Thanks in=20
advance.<BR><BR>YL<BR><BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_003E_01C1280C.1D33D7E0--