Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/c/u/cubes-HEAD/tests/model.py   cubes(Download)
 
import copy
from common import TESTS_PATH, CubesTestCaseBase
 
DIM_DATE_DESC = {
    def setUp(self):
        self.models_path = os.path.join(TESTS_PATH, 'models')
 
    def model_path(self, model):
        return os.path.join(self.models_path, model)