Is there a way to veiw the modules without import sys? Thanks again. On Thu, Mar 12, 2009 at 1:52 PM, Royce Wilson <rww...@gmail.com> wrote:
> 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-...@yahoo.com.ar> wrote: > >> En Thu, 12 Mar 2009 00:41:18 -0200, Royce Wilson <rww...@gmail.com> >> escribió: >> >>> On Wed, Mar 11, 2009 at 9:33 PM, Royce Wilson <rww...@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 >> > >
-- http://mail.python.org/mailman/listinfo/python-list