interactive shell'spam'bacon'eggstraceback (most recent call last)file ""line in typeerrorunsupported operand type(sfor /'strand 'strpython evaluates the operator from left to right and evaluates to path objectso either the first or second leftmost value must be path object for the entire expression to evaluate to path object here' how the operator and path object evaluate to the final path object path('spam)/'bacon/'eggs'/'hamwindowspath('spam/bacon')/'eggs'/'hamwindowspath('spam/bacon/eggs'/'hamwindowspath('spam/bacon/eggs/ham'if you see the typeerrorunsupported operand type(sfor /'strand 'strerror message shown previouslyyou need to put path object on the left side of the expression the operator replaces the older os path join(functionwhich you can learn more about from path join the current working directory every program that runs on your computer has current working directoryor cwd any filenames or paths that do not begin with the root folder are assumed to be under the current working directory note while folder is the more modern name for directorynote that current working directory (or just working directoryis the standard termnot "current working folder you can get the current working directory as string value with the path cwd(function and change it using os chdir(enter the following into the interactive shellfrom pathlib import path import os path cwd(windowspath(' :/users/al/appdata/local/programs/python/python ')os chdir(' :\\windows\\system 'path cwd(windowspath(' :/windows/system 'reading and writing files