parameters: ()
docstring: If it exists, execute slicer resource script
docstring_summary: If it exists, execute slicer resource script
docstring_tokens: If it exists execute slicer resource script
function: def loadSlicerRCFile():
    """If it exists, execute slicer resource script"""
    import os
    rcfile = getSlicerRCFileName()
    if os.path.isfile( rcfile ):
      print('Loading Slicer RC file [%s]' % ( rcfile ))
      exec(open(rcfile).read(), globals())
function_tokens: def loadSlicerRCFile ( ) : import os rcfile = getSlicerRCFileName ( ) if os . path . isfile ( rcfile ) : print ( 'Loading Slicer RC file [%s]' % ( rcfile ) ) exec ( open ( rcfile ) . read ( ) , globals ( ) )