I downloaded the youtube_dl python package and want to use it in my python program as in this question:
How to use youtube-dl from a python program?
The problem is that youtube-dl often needs to update, but I need my program to be distributed as standalone executable (PyInstaller) and I don't know if the python package can update itself. Because the standard way to update is:
pip install --upgrade youtube_dl
If it can't update itself, I would have to call youtube-dl.exe via subprocess.run().
So the question is: can the youtube_dl python package update itself automatically? Or more specifically, can it update itself when it's bundled into executable using PyInstaller?
 
    