Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24612 > unrolled thread
| Started by | Kushal Kumaran <kushal.kumaran@gmail.com> |
|---|---|
| First post | 2012-06-28 19:16 +0530 |
| Last post | 2012-06-28 19:16 +0530 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: 回复: how can I implement "cd" like shell in Python? Kushal Kumaran <kushal.kumaran@gmail.com> - 2012-06-28 19:16 +0530
| From | Kushal Kumaran <kushal.kumaran@gmail.com> |
|---|---|
| Date | 2012-06-28 19:16 +0530 |
| Subject | Re: 回复: how can I implement "cd" like shell in Python? |
| Message-ID | <mailman.1603.1340891193.4697.python-list@python.org> |
Alex chen <wustcsvstudio@vip.qq.com> 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 change the current working directory of your parent process. Also, policy on this mailing list is to put your reply below the text you are quoting, as I'm doing here. It's called bottom posting. <snipped further quoted material> -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Back to top | Article view | comp.lang.python
csiph-web