[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] regarding sys...
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] regarding sys...
- From: "David Gowers" <00ai99@xxxxxxxxx>
- Date: Mon, 17 Nov 2008 12:50:46 +1030
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 16 Nov 2008 21:20:49 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HPQOcS9tH/NUumytaP+bgZ0t8TwAyWGTFHpmaFaW+jU=; b=drkLbCKduclDYI8Mm16axXNhTxey+LXRNx5MUgXf5CWjYX1aR2pMO0gXByl41CyJGs /dcUMIlNjF51Iah3+2wSxxYBhnGEJOWQxmixQZlZTelIe9pc/QSPZnjD3hoQwOBJ0NjJ ZzDuurvcUqdAcpnJ8+appRsDtSSxfjhNE2meU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KjfhNsAkhXJ7mZc5jRAb8U8Lo+cd8T/WTTGrm50JDzm6lfcJ7gxqmRUJq3w3rQI4tp sanD59zJZpUuwrGuj0dUY/WhvtlUHKj/9xjdqB9ZcV+TRkXvecLUnHIgGie60khlKGAt d2/kBBzTBnYEB9tRfNtP2q4Xk5ZL2Nj+x/mto=
- In-reply-to: <20081117015732.4191144796@xxxxxxxxxxxxxxxxxxxxxx>
- References: <20081117015732.4191144796@xxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
On Mon, Nov 17, 2008 at 12:27 PM, yanom @linuxmail.org
<yanom@xxxxxxxxxxxxx> wrote:
>
>> ----- Original Message -----
>> From: "Nicholas Dudfield" <ndudfield@xxxxxxxxx>
>> To: pygame-users@xxxxxxxx
>> Subject: Re: [pygame] regarding sys...
>> Date: Mon, 17 Nov 2008 12:34:15 +1100
>>
>>
>> re/set the environment variable PYTHONPATH
>>
>> I need to add something permanently to sys.path . How do I make add
>> > something to sys.path so that it stays there, even after i close python and
>> > open it again?
>
>>
> when i view sys.path in python, it shows a list of places. when i go to shell and echo $PYTHONPATH it shows nothing at all. So i still just add my thing to $PYTHONPATH?
No, you don't *add* your path to PYTHONPATH.
You set PYTHONPATH to your path.
All the paths listed in PYTHONPATH are automatically added to
sys,path. This is why it does not normally need to be set to anything.
David