Package madgraph :: Package interface :: Module extended_cmd :: Class CmdFile
[hide private]
[frames] | no frames]

Class CmdFile

source code

object --+    
         |    
      file --+
             |
            CmdFile

a class for command input file -in order to debug cmd problem

Instance Methods [hide private]
file object
__init__(self, name, opt='rU')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
next line from the file, as a string
readline(self, *arg, **opt)
readline method treating correctly a line whithout ...
source code
 
__next__(self) source code
 
__iter__(self)
iter(x)
source code

Inherited from file: __delattr__, __enter__, __exit__, __getattribute__, __new__, __repr__, __setattr__, close, fileno, flush, isatty, next, read, readinto, readlines, seek, tell, truncate, write, writelines, xreadlines

Inherited from object: __format__, __hash__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from file: closed, encoding, errors, mode, name, newlines, softspace

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, opt='rU')
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns: file object
Overrides: object.__init__
(inherited documentation)

readline(self, *arg, **opt)

source code 
readline method treating correctly a line whithout 
at the end
          (add it)
       

Returns: next line from the file, as a string
Overrides: file.readline

__iter__(self)

source code 

iter(x)

Overrides: file.__iter__
(inherited documentation)