On Thu, 28 Jun 2012 20:28:40 +0800, Alex chen wrote:
> I just want to write a python program,it can be called in the linux
> terminal like the command "cd" to change the directory of the shell
> terminal
>
>
>
That would not only be needlesly re-inventing the wheel but making it
square in the
Alex chen wrote:
>I just want to write a python program,it can be called in the linux
>terminal like the command "cd" to change the directory of the shell
>terminal
>
This cannot be done. Shells implement cd as a builtin, rather than a command
such as /usr/bin/cd because there is no way to cha