[Tutor] Unix shell vs Python shell

Gus Tabares gustabares at verizon.net
Wed Feb 11 19:56:49 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 11 February 2004 19:04, Christopher Spears wrote:
> What is the main difference between the Unix shell and
> Idle?  I'm asking this because I discovered the os
> module, which has commands that look suspiciously like
> utilities in Unix.  In Unix, the shell acts like a
> traffic cop and calls up needed utilities.  Does Idle
> do the same?
>

The IDLE shell is mainly used for experimenting with pieces of Python code. 
You can use os.system function to make calls to the operating system, but you 
probably wouldn't want to replace this with actually using a Unix shell 
because that would be slow (for the user) and just silly. 

- -- 
Gus Tabares


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAKs9XlBrctWk2LusRAsAUAKDCvVN5+tp0YJ0m1xfZrtPNE2lRgQCdG7zR
8kPooBVXPsmHKqO7JlZ7OMo=
=eA9Z
-----END PGP SIGNATURE-----



More information about the Tutor mailing list