How can i create a
file = open("\example\file.pck","wb")
OSError: [Errno 22] Invalid argument: '\example\x0cile.pck'
file = open("example/file.pck", "wb")
You need to use forward slashes and also it seems that the
example folder you trying to access doesn't exist. That's probably because you wanted to enter relative address but you entered an absolute one. So it should be: