In a GUI app written in Python and Tkinter, I want to add a menu command which will open the source code of the \*.py file in IDLE. I also want it to be platform independent.

I've tried using `os.system` to open IDLE from Scripts folder of Python, but that would be platform dependent. I couldn't find a way to get the Scripts folder of Python to make it independent. How can I achieve this?