Did I find the right examples for you? yes no

All Samples(144)  |  Call(0)  |  Derive(0)  |  Import(144)

src/d/i/DIRAC-HEAD/WorkloadManagementSystem/scripts/dirac-jobexec.py   DIRAC(Download)
"""
 
import DIRAC
from DIRAC.Core.Base import Script
 
from DIRAC.RequestManagementSystem.Client.Request import Request
 
import DIRAC
 
import os, os.path, sys, string

src/d/i/DIRAC-HEAD/Core/scripts/dirac-configure.py   DIRAC(Download)
__RCSID__ = "$Id$"
 
import DIRAC
from DIRAC.Core.Base import Script
from DIRAC.Core.Security.ProxyInfo import getProxyInfo
def setSiteName( optionValue ):
  global siteName
  siteName = optionValue
  Script.localCfg.addDefaultEntry( '/LocalSite/Site', siteName )
  DIRAC.__siteName = False
    DIRAC.gLogger.notice( 'Setting /LocalSite/Site = %s' % siteName )
    Script.localCfg.addDefaultEntry( '/LocalSite/Site', siteName )
    DIRAC.__siteName = False
    if ceName:
      DIRAC.gLogger.notice( 'Setting /LocalSite/GridCE = %s' % ceName )

src/d/i/DIRAC-HEAD/Core/Utilities/Version.py   DIRAC(Download)
def getCurrentVersion():
  """ Get a string corresponding to the current version of the DIRAC package and all the installed
      extension packages
  """
  import DIRAC
  """
 
  import DIRAC
  vDict = {'Extensions':{}}
  vDict['DIRAC'] = DIRAC.version

src/d/i/DIRAC-HEAD/FrameworkSystem/private/monitoring/ServiceInterface.py   DIRAC(Download)
# $HeadURL$
__RCSID__ = "$Id$"
import DIRAC
from DIRAC import gLogger, rootPath, gConfig
from DIRAC.FrameworkSystem.private.monitoring.RRDManager import RRDManager

src/d/i/DIRAC-HEAD/FrameworkSystem/private/monitoring/MonitoringCatalog.py   DIRAC(Download)
  import md5
import time
import DIRAC
from DIRAC import gLogger, S_OK, S_ERROR
from DIRAC.FrameworkSystem.private.monitoring.Activity import Activity

src/d/i/DIRAC-HEAD/FrameworkSystem/private/logging/Logger.py   DIRAC(Download)
from DIRAC.FrameworkSystem.private.logging.backends.BackendIndex import gBackendIndex
from DIRAC.Core.Utilities import ExitCallback
import DIRAC
 
DEBUG = 1

src/d/i/DIRAC-HEAD/Core/Utilities/TimeLeft/TimeLeft.py   DIRAC(Download)
from DIRAC.Core.Utilities.Subprocess import shellCall
 
import DIRAC
 
import os

src/d/i/DIRAC-HEAD/Core/Utilities/Graphs/__init__.py   DIRAC(Download)
__RCSID__ = "$Id$"
 
import DIRAC
 
matplotlib = True

src/d/i/DIRAC-HEAD/Core/DISET/private/Service.py   DIRAC(Download)
 
import os
import time
import DIRAC
import threading

src/d/i/DIRAC-HEAD/Core/DISET/private/MessageFactory.py   DIRAC(Download)
import re
import os
import types
import DIRAC
from DIRAC import S_OK, S_ERROR

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next