Package pipe_control :: Module system
[hide private]
[frames] | no frames]

Module system

source code

Module for various os and sys python module purposes.

Functions [hide private]
 
cd(path, verbose=False)
The equivalent of python module os.chdir(path).
source code
str
pwd(verbose=True)
Print and return string of the current working directory.
source code
Variables [hide private]
  status = Status()
  __package__ = 'pipe_control'

Imports: chdir, getcwd, lib, Status


Function Details [hide private]

cd(path, verbose=False)

source code 

The equivalent of python module os.chdir(path). Change the current working directory to the specified path.

Parameters:
  • verbose (bool) - A flag which if True will cause the previous directory to be printed.
  • path (str) - The path to the directory for the current working directory.

pwd(verbose=True)

source code 

Print and return string of the current working directory. Equivalent of python module os.getcwd().

Parameters:
  • verbose (bool) - A flag which if True will cause the current directory to be printed.
Returns: str
Path to the current working directory.