I have the following code snippet
outdir = os.path.join(os.getcwd(), "new-recipes", "test")
print("Output to:", outdir)
print(" ")
# If directory doesn't exist, make it
if not os.path.isdir(outdir):
os.mkdir(outdir)
os.chdir(outdir)
when I run it on a Windows machine I get the output
Output to: C:\Users\wbehrens\Desktop\Code\conan-3pc\new-recipes\test
[WinError 3] The system cannot find the path specified: 'C:\\Users\\wbehrens\\Desktop\\Code\\conan-3pc\\new-recipes\\test'
I added an absolute path because I found somewhere that it works better but I still get no luck.