My script works in special folder, which name is "Fold".
On the different computers and operation systems path to this folder is different.
For example, on Mac it will: "/Users/user/Fold". On Windows - "C:\Users\user\Desktop\Fold" .
How I can input the path to this folder in my Python script for working on each platform? What should I type inside my script, if the script works only inside "Fold" folder?
You can get the path to the user folder (Mac: /Users/user, Win: C:\Users\user\) via os.path.expanduser("~"). From there, your implementation seems OS-specific - maybe only the Windows-implementation places its data on the desktop. Since you can get the platform identifier via sys.platform, you could do something like this:
import sys, os
folderPath = os.path.join("Desktop", "Fold") if sys.platform == "win32" else "Fold"
fullPath = os.path.join(os.path.expanduser("~"), folderPath)