Minimilistic Python on Linux?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Mar 12 04:27:39 CET 2009


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




More information about the Python-list mailing list