First, I'd like to say that I'm using this methods for evasion and research purposes, and not as best practice to achieve said functionality
I want to create a python script which will load a DLL that will be added to its executable form's resources section after using py2exe / PyInstaller.
The question is how do I reference that DLL in the script? how do i get the script to load it when essentially I still don't have a reference to it since the script wasn't compiled yet and the PE wrapper wasn't formed.
Probably just a lack of understanding on my part, just hoping for some clarity