I'm trying to make a Python script that creates a hidden folder for a specific file I'm creating across any platform.
I'm aware you can do this easily with Linux by placing "." as the beginning of a file or folder name, but haven't found anything saying that you can do the same with MacOS. I don't have a MacOS system to test with, which leaves me at a roadblock.
Would I be able to just create a directory and/or file named ".file" like in Linux systems, or would I need to use the chflags
method that I see everywhere I look?