Trees | Indices | Help |
|
---|
|
This is a static utility class for handling of paths.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
EDNA_HOME =
|
|||
_EDNA_SITE = None hash(x) |
|||
_EDNA_USERTEMPFOLDER =
|
|||
_EDNA_TESTIMAGES = None hash(x) |
|||
_EDNA_TESTS = None hash(x) |
|||
_EDNA_TESTDATA = None hash(x) |
|||
_USER =
|
|||
_TMPDIR =
|
|||
_EDNA_PROJECTS =
|
|||
_EDNA_PLUGINCACHE =
|
|||
__semaphore = Semaphore()
|
|
|||
EDNA_SITE classmethod(function) -> method |
|||
EDNA_TESTS classmethod(function) -> method |
|||
EDNA_TESTDATA classmethod(function) -> method |
|||
EDNA_TESTIMAGES classmethod(function) -> method |
|
Merges two paths and returns the absolute path. Deprecated: please use 'os.path.join' instead |
Returns the absolute path. Deprecated: please use 'os.path.abspath' instead |
Checks if a folder exists. Deprecated: please use 'os.path.exists' instead |
Returns the current directory. Deprecated: please use 'os.getcwd' instead |
Creates a folder (directory) if it doesn't already exists. This used to be deprecated but IS neverthless thread safe (see bug#681) |
Returns the name of a folder (directory) for a given path. Deprecated: please use 'os.path.dirname' instead |
|
_EDNA_PLUGINCACHE
|
|
EDNA_SITEclassmethod(function) -> method Convert a function to be a class method. A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom: class C: def f(cls, arg1, arg2, ...): ... f = classmethod(f) It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument. Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.
|
EDNA_TESTSclassmethod(function) -> method Convert a function to be a class method. A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom: class C: def f(cls, arg1, arg2, ...): ... f = classmethod(f) It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument. Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.
|
EDNA_TESTDATAclassmethod(function) -> method Convert a function to be a class method. A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom: class C: def f(cls, arg1, arg2, ...): ... f = classmethod(f) It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument. Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.
|
EDNA_TESTIMAGESclassmethod(function) -> method Convert a function to be a class method. A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom: class C: def f(cls, arg1, arg2, ...): ... f = classmethod(f) It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument. Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 20 03:53:31 2014 | http://epydoc.sourceforge.net |