コード例 #1
0
 def os_open_logfile( self,  ):
     """
     py_log file is opened in the configured system editor for the user to view and edit
     may be used as/by callback from gui button.  Can be called form gt
     """
     # a_filename = self.parameters.py_path + os.path.sep + self.parameters.pylogging_fn
     AppGlobal.os_open_txt_file( self.parameters.pylogging_fn )
コード例 #2
0
 def os_open_parmfile( self,  ):
     """
     parameter file is opened in the configured system editor for the user to view and edit
     may be used as callback from gui button
     path addition here because parameters.py is not itself a parameter
     """
     a_filename = self.parameters.py_path + os.path.sep + "parameters.py"
     AppGlobal.os_open_txt_file( a_filename )
コード例 #3
0
 def os_open_parmxfile( self,  ):
     """
     used as callback from gui button
     """
     a_filename = self.starting_dir  + os.path.sep + self.parmeters_x + ".py"
     AppGlobal.os_open_txt_file( a_filename )
コード例 #4
0
 def os_open_parmfile( self,  ):
     """
     callback from gui button
     """
     a_filename  = self.starting_dir  + os.path.sep + "parameters.py"
     AppGlobal.os_open_txt_file( a_filename )
コード例 #5
0
 def os_open_logfile( self,  ):
     """
     callback from gui button
     """
     AppGlobal.os_open_txt_file( self.parameters.pylogging_fn )
コード例 #6
0
 def os_open_logfile(self, ):
     """
     used as/by callback from gui button.  Can be called form gt
     """
     AppGlobal.os_open_txt_file(self.parameters.pylogging_fn)
コード例 #7
0
ファイル: smart_plug.py プロジェクト: russ-hensel/smart_plug
 def os_open_parmfile( self,  ):
     """
     used as callback from gui button -- rename cb ??
     """
     a_filename = self.starting_dir  + os.path.sep + "parameters.py"   # assuming a txt file
     AppGlobal.os_open_txt_file( a_filename )