I'm having some trouble getting the os.makedirs() function to work. I'm currently experimenting in IDLE's shell right now and this is the error I'm getting when trying to use this function:
os.makedirs('/delicious\walnut\waffles')
Error:
Traceback (most recent call last):
File "<pyshell#48>", line 1, in <module>
os.makedirs('/delicious\walnut\waffles')
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/os.py", line 223, in makedirs
mkdir(name, mode)
OSError: [Errno 30] Read-only file system: '/delicious\\walnut\\waffles'
Im just trying to create a random new directory. I'm going through this book called "Automate the Boring Stuff" and I'm doing this as part of Chapter 8.