I think, there is no general method.
For Windows, you could see into boot.ini (bcdedit.exe)
For Linux, you could see into the grup etc files, if your system uses grup.
For others answers, see
https://stackoverflow.com/questions/4706...ing-python
For Windows, you could see into boot.ini (bcdedit.exe)
For Linux, you could see into the grup etc files, if your system uses grup.
For others answers, see
https://stackoverflow.com/questions/4706...ing-python