回复: how can I implement "cd" like shell in Python?

Alister alister.ware at ntlworld.com
Thu Jun 28 17:54:04 CEST 2012


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 process.

what is wrong with just calling cd if you are in the terminal.



More information about the Python-list mailing list