Package madgraph :: Package various :: Module misc :: Class open_file
[hide private]
[frames] | no frames]

Class open_file

source code

object --+
         |
        open_file

a convinient class to open a file

Instance Methods [hide private]
 
__init__(self, filename)
open a file
source code
 
open_program(self, program, file_path, mac_check=True, background=False)
open a file with a given program
source code
 
open_mac_program(self, program, file_path)
open a text with the text editor
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
configure(cls, configuration=None)
configure the way to open the file
source code
 
configure_mac(cls, configuration=None)
configure the way to open a file for mac
source code
Static Methods [hide private]
 
find_valid(possibility, program='program')
find a valid shell program in the list
source code
Class Variables [hide private]
  web_browser = None
hash(x)
  eps_viewer = None
hash(x)
  text_editor = None
hash(x)
  configured = False
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename)
(Constructor)

source code 

open a file

Overrides: object.__init__