[Baypiggies] Help

Kelly Yancey kelly at nttmcl.com
Fri Apr 18 07:11:49 CEST 2008


Tabatchnick, Justin wrote:
>  Hi ;
> 
> Is there a sys module and if so  where is it generally located ?
> 
> Thanks
> 
> Justin Tabatchnick
> Intel
> 

Yes.  import sys
http://www.google.co.jp/search?q=python+sys+module&btnI=1

(In particular, you want the path variable in the sys module).

Good luck,

Kelly

> -----Original Message-----
> From: baypiggies-bounces at python.org
> [mailto:baypiggies-bounces at python.org] On Behalf Of
> baypiggies-request at python.org
> Sent: Thursday, April 17, 2008 3:00 AM
> To: baypiggies at python.org
> Subject: Baypiggies Digest, Vol 30, Issue 21
> 
> Send Baypiggies mailing list submissions to
> 	baypiggies at python.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mail.python.org/mailman/listinfo/baypiggies
> or, via email, send a message with subject or body 'help' to
> 	baypiggies-request at python.org
> 
> You can reach the person managing the list at
> 	baypiggies-owner at python.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Baypiggies digest..."
> 
> 
> Today's Topics:
> 
>    1. Re:  help (Keith Dart)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 16 Apr 2008 04:18:22 -0700 (PDT)
> From: Keith Dart <keith at dartworks.biz>
> Subject: Re: [Baypiggies] help
> To: "Tabatchnick, Justin" <justin.tabatchnick at intel.com>
> Cc: baypiggies at python.org
> Message-ID: <alpine.LFD.1.00.0804160417060.1881 at aplus.dartworks.biz>
> Content-Type: text/plain; format=flowed; charset=us-ascii
> 
> On Mon, 14 Apr 2008, Tabatchnick, Justin wrote:
> 
>> Hi ;
>>
>> I am new to Python and wanted to edit the path shown in sys.path , is
>> there an init file or something like it that I can edit .
> 
> You can set the PYTHONPATH environment variable. However, a common
> newbie 
> mistake is to think you have to do that. ;-) Could you explain in more 
> detail what you are trying to do?
> 
> 
> 



More information about the Baypiggies mailing list