Re: how to change sys.path?
- From: Ben Finney <bignose+hates-spam@xxxxxxxxxxxxxxx>
- Date: Wed, 24 May 2006 15:20:57 +1000
[Please provide some context when you respond in an existing
discussion, by quoting the original message and removing any parts
irrelevant to your reply.]
"Ju Hui" <phpbird@xxxxxxxxx> writes:
yes, we can change PYTHONPATH to add some path to sys.path value, but
how to remove item from sys.path?
As pointed out already, sys.path is a list, which can be manipulated
like any other list.
<URL:http://docs.python.org/lib/typesseq-mutable.html>
--
\ "I have never made but one prayer to God, a very short one: 'O |
`\ Lord, make my enemies ridiculous!' And God granted it." -- |
_o__) Voltaire |
Ben Finney
.
- References:
- how to change sys.path?
- From: Ju Hui
- Re: how to change sys.path?
- From: bruno at modulix
- Re: how to change sys.path?
- From: Ju Hui
- Re: how to change sys.path?
- From: Bruno Desthuilliers
- Re: how to change sys.path?
- From: Ben Finney
- Re: how to change sys.path?
- From: Ju Hui
- how to change sys.path?
- Prev by Date: Re: No math module??
- Next by Date: NEWB: how to convert a string to dict (dictionary)
- Previous by thread: Re: how to change sys.path?
- Next by thread: Re: how to change sys.path?
- Index(es):
Relevant Pages
|
|