code: def atomic_writing(*args, **kwargs):
      """DEPRECATED: moved to notebook.services.contents.fileio"""
      warn(
          "IPython.utils.io.atomic_writing has moved to notebook.services.contents.fileio"
      )
      from notebook.services.contents.fileio import atomic_writing
  
      return atomic_writing(*args, **kwargs)
  
imports: from __future__ import print_function
  from __future__ import absolute_import
  import atexit
  import os
  import sys
  import tempfile
  import warnings
  from warnings import warn
  from IPython.utils.decorators import undoc
  from .capture import CapturedIO, capture_output
  from .py3compat import string_types, input, PY3
label_desc: Use image node_id 3 for calling a global function with example usage: atomic_writing() and returns: atomic_writing