Relating "Python" to a Mexican spirit is really stretching it.
"Terminate and Stay Resident" is simply Microsoft's version of the traditional "fork off and die" method for detaching processes from their parent processes.
There is no reason to think it is related to a game company (one that actually competes with MS), simply because they share the same initials.
But even if there were such connections, effectively no one would be aware of them, so such connections would be meaningless.
The other example is the only one worth discussing, since there really are deliberate similarities.
Biblically, demons are fallen angels.
They are capable of possessing individual humans and animals, invisibly observing everything that the victims experience and able to alter their behaviour and speech.
People that "hears voices" telling them to do things are exhibiting symptoms of demon possession.
Demons spend their time waiting for the right opportunity to make the person do something they wouldn't normally do.
In computers, a daemon is self-contained software that silently lurks in the background of the operating system.
It observes what is happening on the computer and, when certain conditions are observed, it initiates specific actions that can potentially affect other software running on the computer.
A "printer daemon" for instance knows how to talk with printers, how to pass data to them, how to get them to print.
It spends most of its time just sitting there, doing nothing, waiting for some other program to ask it to print something for them.
That way no other software needs to know anything about how printers work; the daemon provides a common means of performing the task and everything associated with it.
In many ways, demons and daemons are very similar.
But notice the spelling.
In Greek mythology, "demon" refers to an evil creature, while "daemon" refers to a benevolent spirit.
And in the computer world, no one believes that daemons are living or have anything resembling consciousness.
The terminology is simply a conveniently descriptive simile.
The Complete FreeBSD contains an amusing story of one woman's encounter with what she calls "the original Texas rednecks", and their reaction to her BSD-Unix t-shirt: "Hmmm. Interesting. See, we was just wondering why it is you have the lord of darkness on your chest there.".
