Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
python.importcmd.ImportCmd Class Reference
Inheritance diagram for python.importcmd.ImportCmd:
Collaboration diagram for python.importcmd.ImportCmd:

Public Member Functions

def __init__ (self)
 
def invoke (self, arg, from_tty)
 

Detailed Description

Shorthand for python import.

import MOD will import the python module MOD.

Definition at line 11 of file importcmd.py.

Constructor & Destructor Documentation

◆ __init__()

def python.importcmd.ImportCmd.__init__ (   self)

Definition at line 17 of file importcmd.py.

17  def __init__ (self):
18  super (ImportCmd, self).__init__ ("import", gdb.COMMAND_FILES)
19  return
20 

Member Function Documentation

◆ invoke()

def python.importcmd.ImportCmd.invoke (   self,
  arg,
  from_tty 
)

Definition at line 21 of file importcmd.py.

21  def invoke (self, arg, from_tty):
22  import importlib
23  importlib.import_module (arg)
24  return
25 
26 ImportCmd()

The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18