setwd

setwd(dir)

Set the current working directory

Parameters

Name Type Description Default
dir str A character string with the path to a directory required

Returns

Name Type Description
None

Examples

>>> from rlike import *
>>> current = getwd()
>>> setwd(current)