Minimilistic Python on Linux?

Royce Wilson rww993 at gmail.com
Thu Mar 12 14:52:38 EDT 2009


Thanks, much better. What exactly do I lose when I launch python without
site.py?

On Wed, Mar 11, 2009 at 10:27 PM, Gabriel Genellina
<gagsl-py2 at yahoo.com.ar>wrote:

> En Thu, 12 Mar 2009 00:41:18 -0200, Royce Wilson <rww993 at gmail.com>
> escribió:
>
>> On Wed, Mar 11, 2009 at 9:33 PM, Royce Wilson <rww993 at gmail.com> wrote:
>>
>>  Thanks for the quick responses. When I view sys.modules I get this:
>>>
>>>  sre_compile _collections locale _sre functools encodings site operator
>>> io
>>> __main__ copyreg _weakref abc builtins encodings.cp437 errno
>>> sre_constants
>>> re encodings.latin_1 collections ntpath nt genericpath stat zipimport
>>> _codecs encodings.utf_8 encodings.cp1252 sys codecs _bytesio _thread
>>> os.path
>>> _functools _locale keyword signal _stringio _weakrefset encodings.aliases
>>> sre_parse os _abcoll _fileio
>>>
>>> Each module is seperated by a space.
>>>
>>> Can you give me in instructions on how to remove the site.py
>>> dependencies?
>>>
>>
> Start python with the -S option
>
>
> --
> Gabriel Genellina
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090312/e9dac842/attachment-0001.html>


More information about the Python-list mailing list