Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Wrote examples for %cdmagic

Work done as a team by:
Anuradha Beetoju
Adish
Naveen
Shravan
  • Loading branch information...
commit 152a7605abb6d08e713dd855ce560d4a59c1ee7b 1 parent c377a7c
Anuradha123 Anuradha123 authored committed
Showing with 10 additions and 1 deletion.
  1. +10 −1 IPython/core/magic.py
11 IPython/core/magic.py
View
@@ -2647,7 +2647,16 @@ def magic_cd(self, parameter_s=''):
since the default prompts do not display path information.
Note that !cd doesn't work for this purpose because the shell where
- !command runs is immediately discarded after executing 'command'."""
+ !command runs is immediately discarded after executing 'command'.
+
+ Example
+ --------
+
+ ::
+
+ In [10]: cd parent/child
+ /home/tsuser/parent/child
+ """
parameter_s = parameter_s.strip()
#bkms = self.shell.persist.get("bookmarks",{})
Please sign in to comment.
Something went wrong with that request. Please try again.