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/d/e/denyhosts-HEAD/DenyHosts/restricted.py   denyhosts(Download)
import os
from constants import RESTRICTED_USERNAMES
class Restricted:
    def __init__(self, prefs):
        self.filename = os.path.join(prefs['WORK_DIR'], RESTRICTED_USERNAMES)