monkeys paw <u...@example.net> writes: > How do you access the command line from the > python interpreter? > > on unix: > > type python > >>>> print 'hey' > 'hey' >>>> # I want to access the shell here, how do i do that?
Like this? >>> import os >>> os.system('echo $HOME') /Users/arno 0 >>> -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list