class_docstr: Magics to interact with the underlying OS (shell-type functionality).
      
class_docstr_tok: ["Magics","to","interact","with","the","underlying","OS","(","shell-type","functionality",")","."]
docstr: Return the current working directory path.
  
  Examples
  --------
  ::
  
    In [9]: pwd
    Out[9]: '/home/tsuser/sprint/ipython'
docstr_tok: ["Return","the","current","working","directory","path",".","Examples","--","--","--","--",":",":","In","[","9","]",":","pwd","Out","[","9","]",":","'\/home\/tsuser\/sprint\/ipython","'"]
code: def pwd(self, parameter_s=""):
      """Return the current working directory path.
  
      Examples
      --------
      ::
  
        In [9]: pwd
        Out[9]: '/home/tsuser/sprint/ipython'
      """
      try:
          return os.getcwd()
      except FileNotFoundError as e:
          raise UsageError(
              "CWD no longer exists - please use %cd to change directory."
          ) from e
  
imports: import io
  import os
  import pathlib
  import re
  import sys
  from pprint import pformat
  from IPython.core import magic_arguments
  from IPython.core import oinspect
  from IPython.core import page
  from IPython.core.alias import AliasError, Alias
  from IPython.core.error import UsageError
  from IPython.core.magic import Magics, compress_dhist, magics_class, line_magic, cell_magic, line_cell_magic
  from IPython.testing.skipdoctest import skip_doctest
  from IPython.utils.openpy import source_to_unicode
  from IPython.utils.process import abbrev_cwd
  from IPython.utils.terminal import set_term_title
  from traitlets import Bool
  from warnings import warn
label_desc: Use image node_id 8 for calling the OSMagics obj's underlying member method code with example usage: obj.pwd(parameter_s) and returns: os