woob.tools.path

class WorkingPath[source]

Bases: object

cd1(user_input)[source]

Append one level to the current path. This means that separators (/) will get escaped.

location(split_path)[source]

Go to a new path, and store the previous path.

restore()[source]

Go to the previous path

home()[source]

Go to the root

up()[source]

Go up one directory

get()[source]

Get the current working path