<!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.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV align=justify><FONT face=Arial>Hi,</FONT></DIV>
<DIV align=justify><FONT face=Arial> I
might sound pretty naive to ask this question which must have been asked here
umpteen times, but since I am fairly new to this community I think I can get
away with this :-). None of the previous replies posted on similar topics have
been of any help to me.</FONT></DIV>
<DIV align=justify><FONT
face=Arial> My question is
there a way by which my current working directory would automatically get added
to Python path along with all its sub-directories (on both Windows and Linux
platforms). I am aware of how one can set the PYTHONPATH variable but I wish to
know how one can automatically configure Python to set this path on starting up.
I would also like to know about something called PYTHONSTARTUP which tells
Python what commands to run before starting the interpreter. Currently in
Windows I edit a registry entry called Python Path to set PYTHONPATH variable.
But I wish to know how this can be done automatically (or through the
PYTHONSTARTUP option).</FONT></DIV>
<DIV align=justify><FONT face=Arial></FONT> </DIV>
<DIV align=justify><FONT face=Arial>Regards,</FONT></DIV>
<DIV align=justify><FONT face=Arial>Alok.</FONT></DIV></BODY></HTML>