MacOS – Need help finding out why a file (test_find.pyc) opens at startup

librarymacospythonstartup

Like the title said, IDLE opens and runs /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/test/test_find.pyc every time I start my computer, but I can't figure out why. It's not normal behavior for other Macs, but that's the directory macOs uses for its internal python frameworks so I don't want to delete it.

The output it displays is usually garbage, i.e.:

Ñò
゚WFXc

And it takes almost a minute to run!

This behavior has persisted across multiple OS upgrades.

I'd like to try to track down what the heck is calling that file.

Best Answer

You could look in these locations if there is an alias to that. If not I would just delete the file.

/Library/StartupItems/
/Library/LaunchDaemons/
/Library/LaunchAgents/
~/Library/LaunchAgents/

For LaunchAgents there could be a plist file related.