Kodum bu

dosyaismi = BASLIK+".txt"
yaz = open(dosyaismi, "w", encoding="utf-8")
yaz.write(Part1+"\n")
yaz.close()
Aldığım hata
OSError                                   Traceback (most recent call last) Cell In[15], line 2
      1 dosyaismi = BASLIK+".txt"
----> 2 yaz = open(dosyaismi, "w", encoding="utf-8")
      3 yaz.write(Part1+"\n")
      4 yaz.close()
File C:\Anaconda3\Lib\site-packages\IPython\core\interactiveshell.py:286, in _modified_open(file, *args, **kwargs)
    279 if file in {0, 1, 2}:
    280     raise ValueError(
    281         f"IPython won't let you open fd={file} by default "
    282         "as it is likely to crash IPython. If you know what you are doing, "
    283         "you can use builtins' open."
    284 )
--> 286 return io_open(file, *args, **kwargs)
OSError: [Errno 22] Invalid argument: 'How do I Access Service Canada forms?.txt'