Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(4) | Call(2) | Derive(0) | Import(2)
@wraps(func) def wrapper(dir="", *args, **kwargs): current_directory = os.getcwd() return func(current_directory, *args, **kwargs)
def __init__(self): self.cwd = system.cwd() self.year = str(datetime.datetime.now().year) #------------------------------------------------------------------------------
src/n/a/Naked-0.1.30/lib/Naked/toolshed/state.py Naked(Download)
#!/usr/bin/env python # encoding: utf-8 from Naked.settings import debug as DEBUG_FLAG from Naked.toolshed.system import cwd
self.py_patch = py.py_patch_version() #Python patch version self.os = sys.platform #user operating system self.cwd = cwd() #current (present) working directory self.parent_dir = os.pardir self.default_path = os.defpath
src/n/a/Naked-0.1.30/lib/Naked/commands/test.py Naked(Download)
#!/usr/bin/env python # encoding: utf-8 import os from Naked.toolshed.system import cwd, file_exists, dir_exists, stderr, exit_success