Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
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/z/h/zhuaxia-HEAD/zhuaxia/downloader.py   zhuaxia(Download)
    sys.stdout.write(u'\x1b[2J\x1b[H') #clear screen
    sys.stdout.write(line)
    header = u' 保存目录:[%s] | 线程池:[%d]\n'% (config.DOWNLOAD_DIR, config.THREAD_POOL_SIZE)
    #header = util.ljust(header, width)
    sys.stdout.write(log.hl(u' %s'%header,'warning'))

src/z/h/zhuaxia-HEAD/zhuaxia/xiami.py   zhuaxia(Download)
        self.filename = ((self.artist_name + u"_" if self.artist_name  else "" ) + self.song_name + u'.mp3').replace('/','_')
 
        self.abs_path = path.join(config.DOWNLOAD_DIR,self.filename)
 
 
            song = Song(self.xm, song_json=jsong)
            song.group_dir = song.artist_name + u'_' + song.album_name
            song.abs_path = path.join(config.DOWNLOAD_DIR, song.group_dir, song.filename)
            self.songs.append(song)
 
                    #rewrite filename, make it different
                    song.group_dir = 'favorite_%s' % self.uid
                    song.abs_path = path.join(config.DOWNLOAD_DIR, song.group_dir, song.filename)
                    self.songs.append(song)
                page += 1
            #rewrite filename, make it different
            song.group_dir = self.collection_name
            song.abs_path = path.join(config.DOWNLOAD_DIR, song.group_dir, song.filename)
            self.songs.append(song)
        if len(self.songs):